title: Router resolve will not inject into controller
body: <p>I have tried everything to get ui-router's resolve to pass it's value to the given controller–AppCtrl. I am using dependency injection with <code>$inject</code>, and that seems to cause the issues. What am I missing?</p>
  
  <p><strong>Routing</strong></p>
  
  <pre><code>$stateProvider.state('app.index', {
    url: '/me',
    templateUrl: '/includes/app/me.jade',
    controller: 'AppCtrl',
    controllerAs: 'vm',
    resolve: {
      auser: ['User', function(User) {
        return User.getUser().then(function(user) {
          return user;
        });
      }],
    }
  });
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>appControllers.controller('AppCtrl', AppCtrl);
  
  AppCtrl.$inject = ['$scope', '$rootScope'];
  
  function AppCtrl($scope, $rootScope, auser) {
    var vm = this;
    console.log(auser); // undefined
  
    ...
  }
  </code></pre>
  
  <p><strong>Edit</strong>
  Here's a plunk <a href="http://plnkr.co/edit/PoCiEnh64hR4XM24aH33?p=preview" rel="nofollow">http://plnkr.co/edit/PoCiEnh64hR4XM24aH33?p=preview</a></p>