title: Access Angular service when manually bootstrapping / initializing
body: <p>Is it possible to access to a method of a factory service, <em>before</em> Angular has been bootstrapped, similar to the code below?</p>
  
  <p>I need to make a number of AJAX requests before Angular starts in order to set a number of global application variables. I had hoped to keep the logic for this and/or store the responses inside an Angular service, and return a promise...</p>
  
  <pre><code>&lt;script src="scripts/app.js"&gt;&lt;/script&gt;
  &lt;script src="scripts/factories/app.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
      angular.element(document).ready(function() {
  
          factoryName.startup().then(function() {
              angular.bootstrap(document, ['MyApp']);
          }, function(err) {
              console.log(error fetching bootstrap data);
          }
  
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Is there an alternative method to use to get a similar behaviour?</p>