Using Angular 2, I want to duplicate a line in a template multiple times. Iterating over an object is easy, *ngFor="let object of objects". However, I
*ngFor="let object of objects"
You can simply do :-
{{"Something".repeat(5)}}