From 833eb3c84445110dc1dad238120573f08ed8d102 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 18 Oct 2011 16:46:27 -0700 Subject: fix(ng:repeat): repeater should ignore $ and $$ properties --- src/widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/widgets.js b/src/widgets.js index f1f46419..423fe6dd 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -373,7 +373,7 @@ angularWidget('@ng:repeat', function(expression, element){ cursor = iterStartElement; // current position of the node for (key in collection) { - if (collection.hasOwnProperty(key)) { + if (collection.hasOwnProperty(key) && key.charAt(0) != '$') { last = lastOrder.shift(value = collection[key]); if (last) { // if we have already seen this object, then we need to reuse the -- cgit v1.2.3