title: How to Pass a JavaScript function that contains parameters as parameter
body: <p>This seems not working:</p>
  
  <pre><code>&lt;a href="#ThisSweetConversationYouOpened" ng-click="OpenChat(returnNotmyID(19,20))"&gt;
  </code></pre>
  
  <p>Please help</p>
  
  <p>Thank you</p>
  
  <p><strong>Edit:</strong> 
  I still didn't get a working answer yet. So found an alternative that is working.</p>
  
  <pre><code>&lt;a href="#ThisSweetConversationYouOpened" ng-init="message.Interlocuter = returnNotmyID(19,20)" ng-click="OpenChat(message.Interlocuter)"&gt;
  </code></pre>
  
  <p>But still the question is open if anyone knows, please help</p>