diff --git a/src/ng/directive/ngBind.js b/src/ng/directive/ngBind.js index 9e642ac2d65f..13394f2015e3 100644 --- a/src/ng/directive/ngBind.js +++ b/src/ng/directive/ngBind.js @@ -136,8 +136,8 @@ var ngBindTemplateDirective = ['$interpolate', function($interpolate) { var ngBindHtmlDirective = ['$sce', function($sce) { return function(scope, element, attr) { element.addClass('ng-binding').data('$binding', attr.ngBindHtml); - scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function ngBindHtmlWatchAction(value) { - element.html(value || ''); + scope.$watch(attr.ngBindHtml, function ngBindHtmlWatchAction(value) { + element.html($sce.getTrustedHtml(value) || ''); }); }; }];