I\'m trying to use the angular-seed template with the default settings. In controllers.js
I use
angular.module(\'myApp.controllers\', []).
control
I was also searching for that one, it seems that you need to type '$scope'
before the function, as below:
angular.module('myApp.controllers', []).
controller('MyCtrl1', ['$scope', function($scope) {
$scope.test = 'scope found!';
}])
.controller('MyCtrl2', ['$scope',function() {
}]);
It kinda makes sense, I think it should be more clear though..