How I Can Show/Render Data Binding from Angularjs in a Jquery Onclick? -
i'm working in personal project have small problem when want render data binding angularjs in jquery, code. <div class="claimbutton claimactive"> <a href="{{ product.url }}" target="_blank" onclick="starttimer({{ $index }},{{ product.time }})">claim</a> </div> the principal problem inside here this original code onclick="starttimer(0,5)" when turn in databinding angularjs onclick="starttimer({{ $index }},{{ product.time }})" stop working , no render numbers. i hope me resolve problem. assuming have angular app , controller can <div class="claimbutton claimactive"> <a href="{{ product.url }}" target="_blank" ng-click="starttimer($index,product.time)">claim</a> </div> and in controller $scope.starttimer = function(x,y){ //do code x=$index, y=product.time }