mardi 7 juillet 2015

Display template before model resolves in Ember

I have a template in which the data come from a simple jquery .ajax. I too have a template with an ArrayController to put some data in. When I load the page, I want the template linked to the jquery .ajax to display before resolving the model for the other template (because there is a lot of data in the list).

Right now, it waits for all pending xhr requests before displaying any of the templates. What should I do?




Aucun commentaire:

Enregistrer un commentaire