title: Why are $stateParams available in resolve, but not a DI Service inside the resolve?
body: <p>I am trying to set up a resolve on a view to get some user information before the view gets rendered, because the data from the API will determine what view they user will see.  I tried putting my service into the resolve, but <code>$stateParams</code> are not set when inside the service for some reason:</p>
  
  <pre><code>.state('order.sharepoint', {
      url: '/sharepoint',
      abstract: true,
      controller: 'SharePointController',
      resolve: {
          OrderResolve: function(Order, $stateParams){ // Here $stateParams
              return Order.fetch();                    //   is set correctly!
          }
      }
  });
  </code></pre>
  
  <p><strong>Order Service</strong></p>
  
  <pre><code> app.factory('Order', function ($q, API, $stateParams) { // HERE $stateParams 
                                                           // is empty for some reason
  
      var Order = null;
      var service = {};
  
      service.fetch = function () {
         /// Here is my API call and everything
      }
  </code></pre>