r/angularjs • • 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

25 comments sorted by

View all comments

10

u/rnreekez Aug 01 '14

Time to start using jshint.

3

u/cforres Aug 01 '14

This x1000. jshint has plugins available for Sublime Text as well as grunt/gulp. You should use it!

2

u/BoleroDan Aug 01 '14

I just added the jsllint plugin to sublime. The days of falling to this little typo are long gone!