// Print each state transition
$rootScope.$on('$stateChangeSuccess', (_, toState) => console.log(`STATE CHANGED TO '${toState}'`));
          Last active
          October 20, 2017 12:10 
        
      - 
      
- 
        Save Adriem/87dc16b74448443d9ed3cec101fb0ae9 to your computer and use it in GitHub Desktop. 
    Debugging snippets
  
        
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment