title: AngularJS - Inject a service into index.html
body: <p>I have some configuration values that vary from environment to environment. I need access to them in the index.html file because it pertains to Google Analytics. I have an Angular service to provides access to them, however it seems that I can't inject anything into index.html.</p>
  
  <p>In my index.html:</p>
  
  <pre><code>&lt;html ng-app="myApp"&gt;
  ...
  ...
  ...
  &lt;script&gt;
      (function(dataservice){
              dataservice.doSomething();
      })();
  &lt;/script&gt;
  </code></pre>
  
  <p>"dataservice", the injected service, is undefined.</p>
  
  <p>Any ideas? Thanks.</p>