i m adding an anchor tag with ng-click
with the ng-bind-html
template but the ng-click
is not triggering... i need a solution triggering the function.
my template:
$scope.res =$scope.res+'<a href="javascript:void(o)" ng-click="fullfillmentCenter('+row.orderId+')" title="Send to fullfilment" class="">Send to CA Fullfilment</a>';
my bind html:
<div class="ngCellText" id="div_fullfilment_{{row.getProperty(\'orderId\')}}" ng-bind-html="fullfillment(row.entity)"></div>';
ng-function call:
$scope.fullfillmentCenter = function(orderId){
alert(orderId);
};