Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript AngularJS Basics (1.x) Getting Started with Angular Setting Up Your First Angular App

Nina Kozlova
Nina Kozlova
11,602 Points

I don't get an error when I leave out the empty array in the module "todoListApp".

Following the lecture, I have created angular.module("todoListApp", []); and then ran the preview of the index page. I did get a warning "Tried to load Angular more than once". Then, following the lecture, I removed the empty array brackets from the module. In the lecture, that creates an error. Well, no such thing on my end. Absolutely no change and again - the WARNING about trying to load Angular more than once. This is frustrating, to sale the least, when you follow the lecture to a T and what you get is nowhere near what you're supposed to get.

2 Answers

Martin Cornejo Saavedra
Martin Cornejo Saavedra
18,132 Points

What browser are you using? Are you using Workspaces? I just launched workspaces to check this example and everything worked as the video states.