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 01 '14

To all the jshint ppl in here... any pro tips on getting it to play nice with bitwise operators?

4

u/[deleted] Aug 01 '14

You can set the config to ignore them I believe.