<ng-container *ngFor="let _ of [].constructor(10); let i = index"> <div>{{ i }}</div> </ng-container>