samedi 7 février 2015

Ember - Record-specific controller properties?

Pretty new to Ember. So I understand that I can I can have controller properties for display logic.


In my template, I'm displaying a few properties for each record in the model.



{{#each student in model itemController="student" }}


I'm then using model properties such as



Score: {{student.score}}


Is it possible for me to have a controller property for the purpose of showing some display logic specific to that individual student?





Aucun commentaire:

Enregistrer un commentaire