Following ajax request returns HTML data which is then placed in
<p ng-bind-html="result_data"></p>
Ajax request is as follows:
$http.post(url, data, config)
.success(function (data, status, headers, config) {
$scope.result_data = data;
})
Returned HTML is :
<a href='#' ng-click="exe('test123')">test123</a>
But when it is rendered in result, no ng-click attribute is available when element is inspected. How to get these parameters rendered as they are in ajax response? Am I missing anything?
Any help is much appreciated.