So I'm a bit confused on why I need to have [] syntax around my scope and http get. Aren't these items already available?
angular.module('NoteApp').controller('NotesIndexController', function($http, $scope))
vs
angular.module('NoteApp').controller('NotesIndexController', ['$http', '$scope', function($http, $scope){ ... }]);
Isn't this legal?
angular.module('Test').controller('TestCtrl', function($scope){ ... });