#11 ngFor Structural Directive In Angular

Опубликовано: 18 Октябрь 2024
на канале: Shaileshkumar Singh
34
5

This video explains about ngFor directive in detail.

The *ngFor directive is used to repeat a portion of HTML template once per each item from an iterable list (Collection). The ngFor is an Angular structural directive and is similar to ngRepeat in AngularJS.

To Use ngFor directive, you have to create a block of HTML elements, which can display a single item of the items collection. After that you can use the ngFor directive to tell angular to repeat that block of HTML elements for each item in the list

Music: https://www.bensound.com