angular ng-bind-html and directive within it
I was also facing this problem and after hours searching the internet I read @Chandermani’s comment, which proved to be the solution. You need to call a ‘compile’ directive with this pattern: HTML: <div compile=”details”></div> JS: .directive(‘compile’, [‘$compile’, function ($compile) { return function(scope, element, attrs) { scope.$watch( function(scope) { // watch the ‘compile’ expression for … Read more