Hi All,

Fairly new to the Angular world.

I wanted to know if I were to find out the name of a button clicked on an 
Angular page how can I do that.
For eg: 

Below is my code for a button on the page

<a class="xyz" ng-bind="$ctrl.abc" ng-click="$ctrl.123;">Selected Button</a>

When ever a user clicks on this button I need to print "Select Button" on 
the console.

I do not have access to the angular code, just trying to track clicks on 
the page.


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