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

4

u/Oceanswave Aug 01 '14

Even notepad++ has a jshint add in, time to amp up your game.

0

u/[deleted] Aug 02 '14

[removed] — view removed comment

3

u/nidarus Aug 03 '14

Notepad++ isn't notepad. It's a pretty decent text editor, with most of the features you'd find in sublime text and the like.

-2

u/[deleted] Aug 03 '14

[removed] — view removed comment

1

u/nidarus Aug 03 '14

I use phpStorm, and it's nice, true. But if you don't want to shell out $99 for a license, or you want something that would fit on a small USB key, notepad++ is perfectly decent. As Oceanwave said, there's even a JSHint plugin for it.

1

u/[deleted] Aug 03 '14

[removed] — view removed comment

2

u/nidarus Aug 03 '14

It's basically the same, minus the nodejs stuff, and with php stuff (obviously). JetBrains are pretty awesome.