title: Passing element in ng-click
body: <p>I need to pass an element in ng-click as a param. </p>
  
  <pre><code>&lt;textarea id="chat-msg" name="chat-msg" class="p-r-40 chat-reply form-control"&gt;&lt;/textarea&gt;
  &lt;img src="libs/converse/lib/emoji/smile.png" class="image-size" ng-click="insertEmotion(document.getElementById('chat-msg'))" &gt;&lt;/img&gt;
  </code></pre>
  
  <p>Here onclick works fine, but how can I pass it in ng-click?</p>