title: UI Routing with a 'root' state does not resolve before child state controller
body: <p>For an application I'm working on in AngularJS I have the following problem:</p>
  
  <ul>
  <li>Before the application can be launched - I've set 2 resolve functions to load translations from rest / properties from a local file.</li>
  <li>I've added a 2 resolve functions on the 'root' state of the application</li>
  <li>I've defined 'child states' which should inherit the resolve from the 'root state'  </li>
  <li>I notice that the custom function controller on a child state is not executed after the resolve functions of the root state</li>
  </ul>
  
  <p>States definitions:</p>
  
  <pre><code>app.config(function($stateProvider, $urlRouterProvider) {
  
  $urlRouterProvider.otherwise('/app/start');
  
  $stateProvider
  
      // load dependencies on state
      .state('app', {
          url: "/app",
          abstract: true,
          template: "&lt;div class='page' ui-view&gt;&lt;/div&gt;",
          resolve: {      
              // load properties  
              loadProperties: function(properties){
                  alert('load properties');
                  return properties.initProperties();
              },
              // load labels
              loadLocalization: function(localize, loadProperties){
                  alert('load localization');
                  return localize.initLocalizedResources();
              }
          }
      })
  
      // dashboard : general index
      .state('app.dashboard', {
          url: "/dashboard",
          templateUrl: "partials/dashboard/dashboard.html",
          controller: "dashboardController",            
          resolve:{
              // load workorders
              loadData: function(wkorderService){
                  alert('load work orders service data');
                  return wkorderService.getData(null, null);
              }
          }
      })
  
  });
  </code></pre>
  
  <p>I've added alerts to check the sequence, and I notice when accessing the <code>app.dashboard</code> state through the URL <code>/dashboard</code> the order of alerts:</p>
  
  <ul>
  <li>alert('load properties');</li>
  <li>alert('load work orders service data');</li>
  <li>alert('load localization');</li>
  </ul>
  
  <p>In order of the resolve - the last alert should be executed in the resolve of the root state, and not before the resolve of the child state.</p>
  
  <p>Am I missing something ... 
  Thanks in advance for looking into this issue!</p>