angular-bind-html-compile
angular-bind-html-compile copied to clipboard
Does not work with ngRepeat
When using on or inside an element with ngRepeat, this can trigger the following error:
Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
+1, ngRepeat causes infdig error
+1, same issue here
Change $watch
method to $watchCollection
and watch expression
return scope.$eval(attrs.bindHtmlCompile);
to return $parse(element.attr('bind-html-compile'))(scope);
Worked for me