AngularJs 2.0 - RIP Controller, $scope, and angular.module

Monday, October 27, 2014

Well, I just went through the slide deck of a presentation that Igor Minar gave at the ng-europe conference.

There wasn't much details, but in the deck it says that controller, $scope, and the angular.module command are going away. That's like the most commonly used pieces of the framework.

At first, I was a little taken back by this revelation, but the more I think about it, the more it make sense. Lately, I have tended to just have one line of code in a controller that basically attached a service to the $scope, and the latest craze I've seen is the "Controller As syntax".

On the down side, this seems like totally different paradigm for Angular and a totally new approach to take in and get accustom too. Then again, with ECMAScript 6 coming out soon as well, I'll be learning a lot of new syntax already, so might as well throw Angular 2.0 in too. Two birds one stone.

Anyhow, what do you think about these changes?

UPDATE:

Some more details have emerged about Angular 2.0 and were written about here: "AngularJS 2.0 Details Emerge"

UPDATE:

The keynote session on Angular 2.0 Core has been posted on youtube.

 

comments powered by Disqus