angular-bind-html-compile
angular-bind-html-compile copied to clipboard
digestion cycle
Hi, I am getting this digestion error using this directive [$rootScope:infdig] http://errors.angularjs.org/1.3.8/$rootScope/infdig
The fix to this (for me) is to add a third parameter true to the $scope.$watch. TrustedHtmlWarppers need to be compared using angular.equals, not reference equality. This is that setting this third parameter to true enables.