title: Identifying Angular component instances by a unique ID
body: <p>I'm working on an Angular application where I created a component called TripSummaryComponent that I'm using for showing trips informations this way :</p>
  <pre><code>&lt;div *ngFor=&quot;let trip of trips&quot;&gt;
      &lt;trip-summary [trip]=&quot;trip&quot;&gt;&lt;/trip-summary&gt;
  &lt;/div&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/CSKOu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CSKOu.png" alt="enter image description here" /></a>
  Now my need is: how to identify each instance of TripSummaryComponent by a unique id after it's generated in the DOM.</p>
  <p>Thank's in advance for helping.</p>