I want to implement simple ember app, where I have a search dialog, a list of results and a detailed view if I click on the results, something like this:
The search method of the IndexController is doing an ajax request to populate the model, but I'm not sure if that is the best way to do it. I specially don't like the var self = this; part. Is there an ember way to do that search?
Aucun commentaire:
Enregistrer un commentaire