Angular2 How to get reference of HTML elements generated dynamically : <p>I have this inputs generated dynamically:</p>

<pre><code>  &lt;div *ngFor="let cell of column; let i = index;"&gt;
          &lt;!-- Material design input--&gt;
          &lt;md-input id="my-input-{{i}}"&gt;
          &lt;/md-input&gt;
  &lt;/div&gt;
</code></pre>

<p>Please notice <strong><code>id=my-input-{{i}}</code></strong> I would like to get a reference to the DOM element based on this dynamic id. This input can be 3, 6 or more inputs so I need to access the id dynamically and get a hold to it.</p>
