johnpapa / ng-demos

variety of angular demos
MIT License
1.7k stars 961 forks source link

Apply ng-annotate consistently #38

Closed oliversalzburg closed 9 years ago

oliversalzburg commented 9 years ago

Even though ng-annotate is used in the project, it isn't applied consistently. This patch removes several explicit DI annotations and adds @ngInject where applicable to be consistent.

johnpapa commented 9 years ago

true, but it is because this project goes with a course where i talk about these injections