diff --git a/src/ng/compile.js b/src/ng/compile.js index 2fe8fc117827..f4b26a42e5d1 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -865,14 +865,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) { $linkNode.data('$' + name + 'Controller', instance); }); - // Attach scope only to non-text nodes. - for(var i = 0, ii = $linkNode.length; i