title: conditionally use either click or href in anchor tag in angular
body: <p>Hi i want to use either href or (click) based on condition in anchor tab.</p>
  
  <p>I tried <code>*ngIf="link.linkName==Grills Data?(click)={{ link.url }}: href={{ link.url }}"</code> but it throws error.</p>