$rootScope.$on('$stateChangeStart',function(event, toState, toParams, fromState, fromParams){
console.log('$stateChangeStart');
});
$rootScope.$on('$stateChangeSuccess',function(event, toState, toParams, fromState, fromParams){
console.log('$stateChangeSuccess');
});
$rootScope.$on('$viewContentLoading',function(event, toState, toParams, fromState, fromParams){
console.log('$viewContentLoading');
});
$rootScope.$on('$viewContentLoaded',function(event, toState, toParams, fromState, fromParams){
console.log('$viewContentLoaded');
});
结果如图。