rating = 4; for(i=0; i < rating ; i++){ //print statement }
how to replicate the same for loop with conditions in angular 6 using *ngFor
th
You mean like {{ i }}
{{ i }}