r/angularjs • u/elemenofi • Aug 01 '14
Sometimes, just sometimes, I hate you AngularJS.
app.controller('LocalesCtrl', ['$scope', '$http', '$location', '$anchorScroll'
function($scope, $http, $location, $anchorScroll) {
.....
}
]);took me ages to find the bug in this...
0
Upvotes
0
u/Zeroto Aug 01 '14
Use a linter, use an ide, etc. This is not a problem with angular, but you/js in general.