We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 390f44d commit aa4b662Copy full SHA for aa4b662
templates/javascript/controller.js
@@ -1,8 +1,8 @@
1
'use strict';
2
3
angular.module('<%= _.camelize(appname) %>App')
4
- .controller('<%= _.classify(name) %>Ctrl', ['$scope', '$http', function ($scope, $http) {
+ .controller('<%= _.classify(name) %>Ctrl', function ($scope, $http) {
5
$http.get('/api/awesomeThings').success(function(awesomeThings) {
6
$scope.awesomeThings = awesomeThings;
7
});
8
- }]);
+ });
0 commit comments