Closed
Description
This is a:
- Bug Report
- Feature Request
- General Query
My version of UI-Router is: 1.x
Bug Report
Current Behavior:
http://plnkr.co/edit/u0JKQCIabRCixHJLmBbB?p=preview
See console log. The app errors with:
Error: Resolvable async .get() not complete:"bar"
Expected Behavior:
For bar
to be available in the onSuccess
hook, just like foo
, because it's not async and there is no reason why it should not be available/complete.
Expected behaviour is for it to work, just as it works in the onBefore
hook.
(FYI the reason I need it in the onEnter
hook is because I'm relying on another global resolvable to create the new resolvable, which is only available in the onEnter
hook.)
Metadata
Metadata
Assignees
Labels
No labels