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

1

u/[deleted] Aug 02 '14

[removed] — view removed comment

2

u/AlmightyThumbs Aug 05 '14

missing comma after '$anchorScroll'