テンプレートをng-click
使用してアンカータグを追加していますが、トリガーされていません...関数をトリガーするソリューションが必要です。ng-bind-html
ng-click
私のテンプレート:
$scope.res =$scope.res+'<a href="javascript:void(o)" ng-click="fullfillmentCenter('+row.orderId+')" title="Send to fullfilment" class="">Send to CA Fullfilment</a>';
私のバインドhtml:
<div class="ngCellText" id="div_fullfilment_{{row.getProperty(\'orderId\')}}" ng-bind-html="fullfillment(row.entity)"></div>';
ng-関数呼び出し:
$scope.fullfillmentCenter = function(orderId){
alert(orderId);
};