angular repeat n times code example Example: ng for until number <li *ngFor="let number of [0,1,2,3,4]">{{number}}</li>