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
When I leave the state, I always get this exception: Error: [$injector:unpr] Unknown provider: ccProvider <- cc. This used to work with angular-ui-router v0.2.18.
I also tried basically any combination of $state.transition.injector().get('cc') and $transition$.injector().get('cc') it seems to only be able to get the variables of the next state.
In short: Is there a way to get the values resolved when entering the state in the corresponding onExit function?
I have a state like this:
When I leave the state, I always get this exception:
Error: [$injector:unpr] Unknown provider: ccProvider <- cc
. This used to work with angular-ui-router v0.2.18.I also tried basically any combination of
$state.transition.injector().get('cc')
and$transition$.injector().get('cc')
it seems to only be able to get the variables of the next state.In short: Is there a way to get the values resolved when entering the state in the corresponding onExit function?
Angular 1.5.5, [email protected]
The text was updated successfully, but these errors were encountered: