title: How to pass value from a textbox to a function in AngularJs?
body: <p>My HTML:</p>
  
  <pre><code>&lt;input type ="text" ng-model="contactid" &gt;
  </code></pre>
  
  <p>I want to pass the contactId value entered in this box to a function <code>abc()</code> which is called <code>onclick</code> of submit button after the box.</p>
  
  <p>How do I do this?</p>