Skip to content

Instantly share code, notes, and snippets.

@iambriansreed
Last active December 10, 2016 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iambriansreed/40f32d5fd709ca9983b602fcdab23a30 to your computer and use it in GitHub Desktop.
Save iambriansreed/40f32d5fd709ca9983b602fcdab23a30 to your computer and use it in GitHub Desktop.
Log new Angular UI State loading logging
_.each(['onStart', 'onBefore', 'onRetain', 'onSuccess', 'onError', 'onExit', 'onFinish'],
transitionHook => {
$transitions[transitionHook]({}, function () {
console.log(transitionHook);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment