Hello polsani Hema,

try this
<a [routerLink]="" (click)="myEventFun('cancel')">Hello</a>

it worked for me

*Regards*
*Nikhilesh Reddy.P
<http://www.linkedin.com/in/nikhilesh-reddy-1800a1114?trk>*



On Fri, Apr 26, 2019 at 10:38 AM Polsani Hema <polsanihem...@gmail.com>
wrote:

> I used ng-disabled in <a> tag but it is not working.Could you please
> suggest me another approach.
>
> <div id=\"cancel\"><a ng-click=\"myEventFun('Cancel')\">Cancel</a></div>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to