add dynamic value to id attribute in angular 8

JavaScript
<li *ngFor="let episode of episodes; let i = index">
     <div id="{{ 'wave' + i }}"></div>
</li>
<div [id]="'demo'+this.dynamic_id"></div>
Source

Also in JavaScript: