title: Cannot get to $rootScope
body: <p>The following file "works" (the sense that it does not throw any errors):</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html ng-app="modx"&gt;
      &lt;script src="http://code.angularjs.org/angular-1.0.0rc7.js"&gt;&lt;/script&gt; 
      &lt;script&gt;
          angular.module("modx", [], function($routeProvider) {
          });
      &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>but this</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html ng-app="modx"&gt;
      &lt;script src="http://code.angularjs.org/angular-1.0.0rc7.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          angular.module("modx", [], function($routeProvider, $rootScope) {
          });
      &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>gives the error:</p>
  
  <blockquote>
    <p>Error: Unknown provider: $rootScope from modx<br>
    Source File: <a href="http://code.angularjs.org/angular-1.0.0rc7.js" rel="noreferrer">http://code.angularjs.org/angular-1.0.0rc7.js</a><br>
    Line: 2491</p>
  </blockquote>
  
  <p>WTF?</p>