vendredi 17 avril 2015

ui-router, how to resolve a local result, then a remote result


Vote count:

0




I have this feeling it's not possible to do what I want with just plain resolves,.


Basically, I need a way of having a property resolve in a ui-router route then update that property at a later time or have it resolve twice.


So say for example, you have a posts page, it'll load the posts from the cache, show the page, then send off a request to a remote server(which may or may not succeed) and update the resolved property with the new information.


Anyone know the best way to handle this?



asked 35 secs ago







ui-router, how to resolve a local result, then a remote result

Aucun commentaire:

Enregistrer un commentaire