title: AngularJs $scope undefined when controllers are inside a module
body: <p>I'm trying to use the angular-seed template with the default settings. In <code>controllers.js</code> I use</p>
  
  <pre><code>angular.module('myApp.controllers', []).
    controller('MyCtrl1', [function($scope) {
        $scope.test = 'scope found!';
    }])
    .controller('MyCtrl2', [function() {
  
    }]);
  </code></pre>
  
  <p>There the <code>$scope</code> is always undefined. 
  When I take the controller out of the module and register it globally it works fine. As here:</p>
  
  <pre><code>function MyCtrl1($scope) {
      $scope.test = "scope found!";
  }
  MyCtrl1.$inject = ['$scope'];
  </code></pre>
  
  <p>Could someone explain to me why this is?</p>