Wie wird die dynamische ID (* ngFor) in ionic2 / angular2 festgelegt?
Wie wird die dynamische ID in angle2 festgelegt?
Ich habe versuch
<div class = "CirclePoint" *ngFor="#c of circles" id = "{{ 'Location' + c.id }}"></div>
this.circles = [
{ x: 50 , y: 50 ,id : "oyut1" },
{ x: 100 , y: 100 ,id : "oyut3" },
{ x: 150 , y: 150 ,id : "oyut2" }
];
aber es funktioniert nicht