make id dynamic in angular 8 code example
Example 1: applying ids for ngfor
<li *ngFor="let episode of episodes; let i = index">
<div id="{{ 'wave' + i }}"></div>
</li>
Example 2: add dynamic value to id attribute in angular 8
<div [id]="'demo'+this.dynamic_id"></div>