title: How to trigger 'click ' event in Angular js
body: <p>how to migrate the below function of jquery to  angular js ?</p>
  
  <pre><code>  $( "#foo" ).trigger( "click" );
  </code></pre>
  
  <p>Problem here is im planning to trigger submit button automatically when user fills some data in our application.</p>
  
  <p>so as im from jquery background ,</p>
  
  <p>thanks in advance.</p>