[Angular-ui-router] onExit/onEnter can be inline injected functions
Merge pull request #1425 from michelsalib/patch-4

[Angular-ui-router] onExit/onEnter can be inline injected functions