diff --git a/src/directives.js b/src/directives.js index 5a8dbafb..4e2b92d4 100644 --- a/src/directives.js +++ b/src/directives.js @@ -804,6 +804,8 @@ angularDirective("ng:hide", function(expression, element){ */ angularDirective("ng:style", function(expression, element){ + // TODO(i): this is inefficient (runs on every $digest) and obtrusive (overrides 3rd part css) + // we should change it in a similar way as I changed ng:class return function(element){ var resetStyle = getStyle(element); this.$watch(function(scope){