title: initial $stateParams empty?
body: <p><a href="http://plnkr.co/edit/FAiCihUcVML9Ssb6SVJX?p=preview" rel="nofollow">Plunker:</a></p>
  
  <p>I am using UI-Router for a simple single page application. It is a just a table that you can sort and filter. When you apply a filter, like ordering a column in ascending order, the URL updates to something like:</p>
  
  <p><code>www.domain.com#/column/'column name'/desc/false/</code></p>
  
  <p>I then grab the paramters using $stateParams, and update the table accordingly.</p>
  
  <pre><code> $scope.$on('$stateChangeSuccess', function (evt, toState, toParams, fromState, fromParams) {
              $scope.sorting.predicate = toParams.column;
              $scope.sorting.reverse = boolVal(toParams.sort);
          });
  </code></pre>
  
  <p>However, if I were to visit <code>www.domain.com#/column/'column name'/desc/false/</code>,
  the table doesn't <em>load</em> with the data filtered. I am trying the following (after injecting $stateParams to my controller):</p>
  
  <pre><code>$scope.$on('$viewContentLoaded', function (event, viewConfig) {
              console.log('VCL stateParams: ' + angular.toJson($stateParams));
          });
  </code></pre>
  
  <p>However, stateParams is always empty regardless of the URL (only on viewContentLoaded). I can't seem to get the parameters of the URL on page load. Am I doing something incorrectly?</p>
  
  <p>Here is the state config:</p>
  
  <pre><code>app.config(['$stateProvider', '$urlRouterProvider',
      function ($stateProvider, $urlRouterProvider) {
          $stateProvider.state("name", {
              url: '/column/:column/desc/:sort/',
              controller: 'Ctrl',
              resolve: {
                  logSomeParams: ['$stateParams', '$state', function ($stateParams, $state) {
                      console.log($stateParams);
                      console.log(this); // this is the state you transitioned From.
                      console.log($state); // this is the state you transitioned To.
                  }]
              }
          });
          $urlRouterProvider.otherwise('/');
      }
  ]);
  </code></pre>
  
  <p>Here is how the state change is called:</p>
  
  <pre><code>&lt;a ui-sref="name({column:'\''+column+'\'',sort:sorting.reverse})" 
  ng-click="sorting.predicate = '\'' + column + '\''; sorting.reverse=!sorting.reverse;"&gt;
  {{column}}&lt;/a&gt;
  </code></pre>