Answers for "foreach in angular 11"

13

angular foreach

<ul>
    <li *ngFor="let item of items; let i = index" [attr.data-index]="i">
        {{item}}
    </li>
</ul>
Posted by: Guest on February-26-2020
0

angular foreach html

<p *ngFor="let name of names">{{name}}</p>
Posted by: Guest on February-04-2022

Browse Popular Code Answers by Language