I know the best way is to define a variable from the .ts. But in this case I require to be able to do an *ngFor
from a given number, where this number will be an array with this number of positions.
My idea is something like this:
<ng-container * ngFor = "let item of new Array(number)>
...
</ng-container>
for example: number =3
<ng-container * ngFor = "let item of new Array(3)>
repetat 3 times
</ng-container>
is it possible?