GetElementById equivalant in angular js
<pre><code>&lt;div&gt;
    &lt;input id="txt"  type="text" placeholder="Choose File" /&gt;
    &lt;input type="file" id="selectedFile" class="hidden" onchange="ChangeText(this, 'txt');" /&gt;
    &lt;span&gt;
        &lt;button type="button" onclick="document.getElementById('selectedFile').click();"&gt;Browse&lt;/button&gt;
    &lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>I just want that on-click event in angular js. Can anyone tell?</p>

<p>I just want that on-click event in angular js.
Can anyone tell?
code is in comment</p>