title: How can i call a function in Angular in a reactive form
body: <p>I have a form element in my reactive form like below</p>
  
  <pre><code> &lt;form [formGroup] = "form" (ngSubmit)="handleClick()"&gt;
  </code></pre>
  
  <p>which works fine when i hit the submit bttn, but i have another bttn on the form from which i want to call a different function. I searched and could not find something that works. i tried something like this</p>
  
  <pre><code> &lt;button  ng-click=”newClick()” type=”button” class="btn survey-reset-btn"&gt;Get Info&lt;/button&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;button (click)=”newClick($event)” type=”button”&gt;Button&lt;/button&gt;
  </code></pre>
  
  <p>but that creates me an error and complains about the () around click.</p>
  
  <p>sow how can i have bttn on my form which dont call the same function ?</p>