Created
November 7, 2013 23:45
-
-
Save bmarini/7363851 to your computer and use it in GitHub Desktop.
ui router logging...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.run ($rootScope, $filter, $log) -> | |
$rootScope.$on( '$stateChangeStart', (ev, to, toParams, from, fromParams) -> | |
$log.info('state change from ', from.name, $filter('json')(fromParams), ' to ', to.name, $filter('json')(toParams)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment