Hi Bastien,

Short answer, you don't. 
In stead of that, you bind to an id, I updated your plunk 
<http://plnkr.co/edit/dxB3MRtatygACinUgpMu?p=preview>a bit.
In the plunk I use $index, well, because I'm a bit lazy ;) In real code you 
should bind to an Id, and use an function to retrieve the correct data.
I created an selection property on your $scope, dynamically in the 
template. (Also something you should avoid in real code ;) ). 

Does that answer your question?

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to