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
With the userapp module initiated in the run() block, though, any state with a resolve doesn't load properly. I can tell that the promises are being hit, because my API server responds to the requests. The template doesn't seem to load, though.
I thought it was just the promises causing an issue, but even using empty resolves like your documentation states creates the same issue. When commenting out the user.init({ appId: '...' }); part (yet still leaving the UserApp module declaration), everything works again.
I get no errors in the console.
The text was updated successfully, but these errors were encountered:
For now I'm just using promises in the controllers as a workaround, but I'd really like to use resolves for some of the pages. Let me know if you need me to help test something out.
I have a few ui-router states that use
promises
inside ofresolves
to wait on an API.With the userapp module initiated in the
run()
block, though, any state with aresolve
doesn't load properly. I can tell that the promises are being hit, because my API server responds to the requests. The template doesn't seem to load, though.I thought it was just the promises causing an issue, but even using empty resolves like your documentation states creates the same issue. When commenting out the
user.init({ appId: '...' });
part (yet still leaving theUserApp
module declaration), everything works again.I get no errors in the console.
The text was updated successfully, but these errors were encountered: