angularjs to get the focused element on onclick
<p>on click on button event how to find the cursor focused input element on my form.
i have more than one input on my form, want to bind some data on onclick with the focused element.</p>

<p>HTML:</p>

<pre><code>&lt;div&gt;
&lt;button onclick="findFocus"&gt;&lt;/button&gt;

&lt;input type="text" id="name" /&gt;
&lt;input type="text" id="email" /&gt;
&lt;input type="text" id="address" /&gt;
&lt;/div&gt;
</code></pre>