Chrome Extension

For loop Angular

<div *ngFor="let item of items">
    <span>{{item.name}}</span>
    <span>{{item.description}}</span>
</div>

We use *ngFor attribute in component HTML for iteration of array elements. 

Search history ×