title: Angularjs ui-router, How to get preload resolve value when $stateChangeSuccess trigger?
body: <pre><code>$stateProvider.state('home', {
    url: '/', 
    resolve: {
      person: function() { 
        return 'good' 
      } 
    }
  </code></pre>
  
  <p>like above state config, how can I get the 'person' value in $stateChangeSuccess callback function ?</p>
  
  <pre><code>$rootScope.$on('$stateChangeSuccess', 
    function(event, toState, toParams, fromState, fromParams) {
      // I want get the 'person' value in this function, what should I do?
  });
  </code></pre>