I'm working on an Angular application where I created a component called TripSummaryComponent that I'm using for showing trips informations this way :
<div *ngFor="let trip of trips">
<trip-summary [trip]="trip"></trip-summary>
</div>
Now my need is: how to identify each instance of TripSummaryComponent by a unique id after it's generated in the DOM.
Thank's in advance for helping.