title: Angular js - resolve and run() order of execution
body: <p>Thanks to this answer <a href="https://stackoverflow.com/questions/20663076/angularjs-app-run-documentation">AngularJS app.run() documentation?</a> i can see the order in which modules are ran by Angular, my question is:</p>
  
  <p>if I have:</p>
  
  <pre><code>app.config(function () {
      $routeProvider.when('/', {
          ....
          resolve: {
              // something to resolve
          }
      });
  });
  
  app.run(function () {
      // something to run
  });
  </code></pre>
  
  <p>Will <code>run()</code> be executed before the routeProvider <code>resolve:{}</code> is resolved?</p>