title: AngularJS: Inject controller inside another controller from the same module
body: <p>Is possible to inject a controller into another controller that is part of the same module?</p>
  
  <p>example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var app = angular.module('myAppModule', [])
  .controller('controllerOne', ['$scope', function($scope){
    $scope.helloWorld = function(){
      return 'Hello World';
    }
  }])
  .controller('controllerTwo', ['$scope', 'controllerOne', function($scope, controllerOne){
    console.log(controllerOne.helloWorld());
  }])</code></pre>
  </div>
  </div>
  </p>
  
  <p>I keep getting unknown provider on controllerOne. I don't see how that's possible since they coexist in the same module. Any help would be much appreciated.</p>