title: Can't retrieve the injector from angular
body: <p>I've got this app with two modules:</p>
  
  <pre><code>angular.module('components', []).directive('foo', function () { return {};});
  angular.module('gaad', ['components']);
  </code></pre>
  
  <p>There is a bunch of directives associated with this modules which I'm not including here.
  The application works fine. However when I'm trying to retrieve injector for module <code>gaad</code>:</p>
  
  <pre><code>var injector = angular.injector(['gaad', 'components']); //called after 'gaad' module initialization
  </code></pre>
  
  <p>the error is thrown:</p>
  
  <pre><code>Uncaught Error: Unknown provider: $compileProvider from components 
  </code></pre>
  
  <p>The application is quite big right now and I have no idea where should I look for bugs. 
  So my question is: <strong>What could be the reason for my problems?</strong></p>
  
  <p><strong>EDIT:</strong>
  I was able to replicate my problem: <a href="http://jsfiddle.net/selbh/ehmnt/11/">http://jsfiddle.net/selbh/ehmnt/11/</a></p>