aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error
diff options
context:
space:
mode:
authorDrew Perttula2014-01-02 21:18:02 -0800
committerIgor Minar2014-01-02 21:34:34 -0800
commit6a6f71f238d2603cbc286ba29ec7503ad45f7f20 (patch)
tree057616251755e1fde5c0a47d999b8f325c5d1544 /docs/content/error
parentcf686285c22d528440e173fdb65ad1052d96df3c (diff)
downloadangular.js-6a6f71f238d2603cbc286ba29ec7503ad45f7f20.tar.bz2
docs(error/ngRepeat/dupes): fix typo
Closes #5610
Diffstat (limited to 'docs/content/error')
-rw-r--r--docs/content/error/ngRepeat/dupes.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/error/ngRepeat/dupes.ngdoc b/docs/content/error/ngRepeat/dupes.ngdoc
index 42d4c77a..175cd676 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:
<div ng-repeat="value in [4, 4]"></div>
```
-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: