How to set dynamic id in *ngFor?
<div class = "CirclePoint" *ngFor="let c of circles" [attr.id]="'Location' + c.id"></div><div class = "CirclePoint" *ngFor="let c of circles" attr.id="Location{{c.id}}"></div>
For the id
attribute this might work as well (not tried myself yet)
<div class = "CirclePoint" *ngFor="let c of circles" [id]="'Location' + c.id"></div>