I am trying to add dynamically created anchor tag in HTML for this purpose I
have used below code in JS :
var tabList = $sce.trustAsHtml('<a ng-click="getActiveTag()">Test</a>');
var temp = $compile(tabList)($scope);
$scope.tabList = temp[0];
and on html side I have used :
<p ng-bind-html="tabList"></p>
but ng-click not working :( ..any help would be appreciated.