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
Using "angular-ui-router": "^1.0.0-beta.1" it doesn't seem possible to dependency inject:
$transitionsProvider.onStart({to: state=>!!(state.data&&state.data.requiresAuth)},function(UserService){// UserService is always transition :(});
Given this line in looks like it's hard coded to only supply the transition (and the state context is null). I saw in some of the other issues that hook may be changing to supply $inject?
Is there work around? Should I just wait for next release? :)
The text was updated successfully, but these errors were encountered:
Using
"angular-ui-router": "^1.0.0-beta.1"
it doesn't seem possible to dependency inject:Given this line in looks like it's hard coded to only supply the transition (and the state context is
null
). I saw in some of the other issues that hook may be changing to supply$inject
?Is there work around? Should I just wait for next release? :)
The text was updated successfully, but these errors were encountered: