Tuesday, January 13, 2015

Farewell ng-controller? I hardly Knew Thee

Interesting article (http://teropa.info/blog/2014/10/24/how-ive-improved-my-angular-apps-by-banning-ng-controller.html) about how and why to stop using the ng-controller attribute.  The basic idea is to remove the implied scope inheritance and the confusion and issues that can cause.

I think I'll keep with ng-controller for now but will plan on moving away from it.  Especially if as noted Angular 2.0 kills it off anyway.

No comments:

Post a Comment