<li *ngFor="#item of items" [id]="item.id">some text</li>
How to access dynamically created ID in angular in a html div using #
I want to use the ID created in the above code using # dynamically in a div like in the below code.
<div #(id created in above code)></div>