title: Injecting controller gives empty object AngularJS
body: <p>I have an AngularJS app, that I am trying to test. The problem is that whenever I try to inject a controller it gives me an empty object.</p>
  
  <pre><code>beforeEach( inject(function($rootScope, $controller) {
     console.log($controller) // {}
     scope = $rootScope.$new();
     ctrl = $controller('MenuCtrl', {
       $scope: scope
     });
     console.log(ctrl) // {}
  }));
  </code></pre>
  
  <p>I have attached a sample of my setup with some comments in a JsFiddle, and I would really appreciate some help to figure this out.</p>
  
  <p><a href="http://jsfiddle.net/kimpettersen/tLAW5/7/" rel="nofollow">Fiddle</a></p>
  
  <p><em><strong>edit</em></strong>: I have also tried to do this:</p>
  
  <p><strike>beforeEach(angular.mock.module('Controllers'));</strike></p>
  
  <p>Then I get:
      Error: No module: Controllers</p>
  
  <p><em><strong>This fixed that problem:</em></strong></p>
  
  <p>beforeEach(angular.mock.module('controllers'));</p>