aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngSanitize/directive/ngBindHtml.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngSanitize/directive/ngBindHtml.js')
-rw-r--r--src/ngSanitize/directive/ngBindHtml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngSanitize/directive/ngBindHtml.js b/src/ngSanitize/directive/ngBindHtml.js
index 346acff0..150e6bdc 100644
--- a/src/ngSanitize/directive/ngBindHtml.js
+++ b/src/ngSanitize/directive/ngBindHtml.js
@@ -17,7 +17,7 @@
angular.module('ngSanitize').directive('ngBindHtml', ['$sanitize', function($sanitize) {
return function(scope, element, attr) {
element.addClass('ng-binding').data('$binding', attr.ngBindHtml);
- scope.$watch(attr.ngBindHtml, function(value) {
+ scope.$watch(attr.ngBindHtml, function ngBindHtmlWatchAction(value) {
value = $sanitize(value);
element.html(value || '');
});