Closed enricolucia closed 9 years ago
Hi @enricolucia
Thanks for the PR!
The intention of issues #6 and #7 is to make sure that the stylesheets are loaded before the route is changed in order to avoid a flash of unstyled content (FOUC).
My theory is that we can accomplish that via route resolve.
Does that make sense?
Oh I see it. Ok I think is pretty doable from route resolve.I will have a look at it.
Yes, it's doable. I guess the challenge is to do it internally in the service and making sure it doesn't override any other resolve functionality added by the user.
Hook added on ngRoute and ui.router object to wait for resolve object.