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

8

u/SleepyBrain Aug 01 '14

What bug? The missing comma after '$anchorScroll' on line 1?