title: Button click event issue in angular
body: <p>⁮I am trying to apply a "disable option" to my custom button, but when I set the button to disabled, the click event is still working. I only need the click event if the button is enabled, and not if it is disabled.</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;myngbutton [disabled]="disabled3" (click)="alertMsg()"&gt;Save 3&lt;/myngbutton&gt;
  </code></pre>