From 1766522abbd2adb1fa847d4eaafe0baf0e7a14f7 Mon Sep 17 00:00:00 2001 From: Drew Perttula Date: Thu, 2 Jan 2014 21:18:02 -0800 Subject: [PATCH] typo in dupes.ngdoc --- docs/content/error/ngRepeat/dupes.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/error/ngRepeat/dupes.ngdoc b/docs/content/error/ngRepeat/dupes.ngdoc index 42d4c77aa548..175cd676fb32 100644 --- a/docs/content/error/ngRepeat/dupes.ngdoc +++ b/docs/content/error/ngRepeat/dupes.ngdoc @@ -13,7 +13,7 @@ For example the issue can be triggered by this *invalid* code:
``` -To resolve this error either ensure that the items in the collection have unique identity of use the `track by` syntax to specify how to track the association between models and DOM. +To resolve this error either ensure that the items in the collection have unique identity or use the `track by` syntax to specify how to track the association between models and DOM. To resolve the example above can be resolved by using `track by $index`, which will cause the items to be keyed by their position in the array instead of their value: