title: angular ui-route state parent and resolve (nested resolves)
body: <p>I have the following scenario:</p>
  
  <ol>
  <li>index.html page loads angular and contains:  ui-view</li>
  <li>layout.html page contains left menu that resolves data from server</li>
  <li>homepage.html use layout.html as his parent but needs to resolve his own data from server.</li>
  </ol>
  
  <p>The problem is : when i resolve the parent the child is not resolving,
  when i remove the parent resolve, the child resolves.</p>
  
  <p>can you help me, and let me know what am i doing wrong?</p>
  
  <p>app.js</p>
  
  <pre><code>$stateProvider
      .state('layout', {
          url: "",
          templateUrl: 'partials/layout.html',
          controller:'LayoutController',
          abstract:true,
          resolve : {
              result_data: function ($q,CommonService)
              {
                  return resolve_layout($q,CommonService)
              }
          }
      })
      .state('homepage', {
          url: "/homepage",
          templateUrl: 'partials/homepage.html',
          parent: 'layout',
          controller:'HomepageController',
          resolve : {
              result_data: function ($q,CommonService)
              {
                  return resolve_homepage($q,CommonService)
              }
          }
      })
  </code></pre>