title: HTML anchor click event set variables
body: <p>I like set one more variable in HTML  click event, is it possible to set in the HTML tag itself?</p>
  
  <pre><code>&lt;a class="collapse-toggle 
    ngclick" 
    (click)="collapse.oneTimePayment = !collapse.oneTimePayment, isOPelected=false " 
    [class.collapsed]="collapse.oneTimePayment"&gt; 
  </code></pre>