This post actually address the scoping issue, by banning ng-controller. Suddenly controllers is nicely decoupled by using the good parts of angular.
What I don't like about angular except for the scoping is the auto magic in the DI system. Name my provider 'greet' but I have to inject 'greetProvider', WTF?!?! And then there's the fact that they had to reinvent modules.
1
u/gabbsmo Nov 06 '14
This post actually address the scoping issue, by banning ng-controller. Suddenly controllers is nicely decoupled by using the good parts of angular.
What I don't like about angular except for the scoping is the auto magic in the DI system. Name my provider 'greet' but I have to inject 'greetProvider', WTF?!?! And then there's the fact that they had to reinvent modules.