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 b76b5f5 commit fbfde7cCopy full SHA for fbfde7c
app/js/controllers.js
@@ -3,9 +3,9 @@
3
/* Controllers */
4
5
angular.module('myApp.controllers', [])
6
- .controller('MyCtrl1', [function() {
+ .controller('MyCtrl1', ['$scope', function($scope) {
7
8
}])
9
- .controller('MyCtrl2', [function() {
+ .controller('MyCtrl2', ['$scope', function($scope) {
10
11
}]);
0 commit comments