applying ids for ngfor
<li *ngFor="let episode of episodes; let i = index">
<div id="{{ 'wave' + i }}"></div>
</li>
applying ids for ngfor
<li *ngFor="let episode of episodes; let i = index">
<div id="{{ 'wave' + i }}"></div>
</li>
add dynamic value to id attribute in angular 8
<div [id]="'demo'+this.dynamic_id"></div>
dynamically add id ro div in angular using forloop ngfor
1
2
21
12
12
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us