title: How do you get a reference to an angularjs controller defined in a module?
body: <p>I have a jasmine test and I can't get a reference to the controller constructor function as it was defined in a module. See my gist here <a href="https://gist.github.com/hcabnettek/5222429" rel="nofollow">https://gist.github.com/hcabnettek/5222429</a></p>
  
  <p>I need to unit test a controller defined like</p>
  
  <pre><code>angular.module('foo', []).controller('fooCtrl', function($scope){ $scope.foo = 'bar'; });
  </code></pre>
  
  <p>Can anyone possibly help me out?
  Thanks!</p>