How to Access Child Element Tag ID
<p>I have the following setup:</p>

<pre><code>&lt;parent&gt;
    &lt;a (click)="getChildId(childId)"&gt;
    &lt;child somethingRequired&gt;&lt;/child&gt;
&lt;/parent&gt;
</code></pre>

<p>And the child template file:</p>

<pre><code>&lt;template #childId&gt;&lt;/template&gt;
</code></pre>

<p>Can you please guide me what will be the best approach to get the <code>#childId</code> and pass it to the <code>getChildId</code> function.</p>

<p>Thanks</p>