Site Overlay

How to repeat an HTML element or component multiple times in Angular 9/8?

Share : How to repeat an HTML element or component multiple times in Angular 9/8?
How can I use the *ngFor directive to repeat an HTML element or Angular component multiple times? For example, let's suppose we have a DIV element. How do I use the *ngFor directive to make the DIV repeat 5 times?