I am using ng-bind-html in my controller, for example
$scope.message=' You currently have no ORDERS <a href= "javascript:void(0)" ng-click="Back()">Back13</a>';
and on the html page
<strong ng-bind-html="message">Warning!</strong>
But Back () does not work, even I tried compiling $ as a similar question . Can anyone solve this problem?
source
share