You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched a way to get the scope associated to the current state. I used the $stateChangeSuccess event who expose the event.currentScope... but I found a strange behavior when logging the event.currentScope :
The first console.log displays the whole event object, and I can see what I need under the property currentScope.
But if I try to log specifically event.currentScope, I get an another scope (the $rootScope, I think).
With console.log or anything else, I can't get the currentScope.