News for hackers. Stuff that matters.
Re:Mistakes AngularJS Developers Make by josekpaul on Friday October 03, 2014 @03:47PM (#8407284)
I concur: this is a good list of issues. One additional thing I found was composition/inheritance of controllers with $injector.invoke.. breaks in minified code because of issues similar to #3.
Re:Mistakes AngularJS Developers Make by grumblestumble on Friday October 03, 2014 @06:26PM (#8407978)
I'm fairly certain that the majority of Angular developers would tell you that controller inheritance is an anti-pattern. This is what services are for. The furthest I go is using services as controller mixins, eg. $scope.commonTools = CommonToolsMixinService.call($scope);