title: when using ui-router resolve, how do I access the resolved data?
body: <p>I have the following routes:  </p>
  
  <pre><code>$stateProvider
      .state("base",
      {
          url: "",
          abstract: true,
          resolve: {
              aService: "aService",
              dataNeeded: function(aService) {
              return aService.getDataMethod().$promise;
              }
          },
          template: "&lt;ui-view/&gt;",
      });
  
  
  $stateProvider
      .state("base.main",
      {
          url: "/",
          templateUrl: coreConfig.path() + "/modules/content/content.tmpl.html",
          controller: "aController",
          controllerAs: "aCtrl",
          data: { requiresLogin: true }
      });
  </code></pre>
  
  <p>I'm using an abstract route to resolve data required in the child <code>'base.main'</code> route.  </p>
  
  <p>and in my app.js file I have </p>
  
  <pre><code>angular.module("aModule", ["CoreModule"])
      .controller({ "aController": require("./modules/content/aController.controller.js") });
  </code></pre>
  
  <p>I have my controller:</p>
  
  <pre><code> module.exports = ["aService", "dataNeeded", aController];
  
      function aController(aService, dataNeeded) {
          var test = dataNeeded; //value is undefined
      }
  </code></pre>
  
  <p>How do I access the <code>'dataNeeded'</code> loaded in the abstract route from within the `'base.main' controller? </p>