angular for loop from 1 to 100 code example
Example: how to loop a number in ngfor
//my.component.ts
counter(i: number) {
return new Array(i);
}
//my.component.html
{{i}}
//my.component.ts
counter(i: number) {
return new Array(i);
}
//my.component.html
{{i}}