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 trialromankozak2
5,782 PointsAngular is outdated
I see in this video that the teacher is using a global controller. With angular 1.3+ you can no longer use global controller declaration on the global scope (Without explicit registration), according to my research.
I started working in my own Sublime Text, and could not get the controller to work. Then I did some Googling and found this out.
I am looking forward to the coming AngularJS course!
2 Answers
Sage Elliott
30,003 PointsHello! Unfortunately that happens when creating tutorials for programming. It just changes so fast!
Treehouse is working on a new angular course that is scheduled to come out in November(Date subject to change).
You can check out what else treehouse is working on at their course roadmap
I'm looking forward to the new course as well :)
Steve Smith
12,955 PointsWhat exactly do you mean by 'you can no longer use global controller declaration on the global scope'?
It would be helpful to point out what specific code breaks, and what the updated pattern is for other people who might be running into the same problem.
romankozak2
5,782 PointsYou cannot use the global controller any longer that he codes in the video in the global scope. So the rest of the video after the point sort of becomes null (no pun intended). It doesn't seem like you can do much beyond the early parts of the video.
romankozak2
5,782 Pointsromankozak2
5,782 PointsThanks! I didn't mean to sound disgruntled. I am awaiting the new course :)
Sage Elliott
30,003 PointsSage Elliott
30,003 PointsYou didn't come off as disgruntled! No worries!