Angular 17 Control Flow @For without array of items

  Kiến thức lập trình

I use Angular 17,

Documentation says that i can iterate an array with control flow:

   @for (item of items; track $index)
     {
                    
     }

But I need to do something else like:

@for (1 to 10; track $index)
{

}

Is It possible?

Solution o some suggestions

LEAVE A COMMENT