aboutsummaryrefslogtreecommitdiffstats
path: root/src/directives.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/directives.js')
-rw-r--r--src/directives.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directives.js b/src/directives.js
index 4443cc9d..d2d3bf2c 100644
--- a/src/directives.js
+++ b/src/directives.js
@@ -176,7 +176,7 @@ angularWidget("@ng:repeat", function(expression, element){
if (keyIdent) childScope[keyIdent] = key;
} else {
// grow children
- childScope = template(element.clone(), createScope(currentScope));
+ childScope = template(quickClone(element), createScope(currentScope));
childScope[valueIdent] = collection[key];
if (keyIdent) childScope[keyIdent] = key;
lastElement.after(childScope.$element);