I am working on a website based on angular js.
Currently, I have written about 5000 line code in angular js.
So I have to make some changes without touching my angular js.
I want something like this:
$(document).on('click','#buttonid',function(){ //performing some necessary task then call ng-click method ngclickmethod(); }); HTML Code:
<a ng-click="ngclickmethod()" id="buttonid"> Please advise how can I achieve that.
Many Thanks
angular.element(this).scope().ngclickmethod()