From 3bce707421464c320e38fe758a6143003ce87522 Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Wed, 31 May 2017 18:36:58 +0200 Subject: [PATCH] docs(ngRepeat): highlight track by expression position --- src/ng/directive/ngRepeat.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ng/directive/ngRepeat.js b/src/ng/directive/ngRepeat.js index 8397030c57eb..c0a1794b9147 100644 --- a/src/ng/directive/ngRepeat.js +++ b/src/ng/directive/ngRepeat.js @@ -215,7 +215,9 @@ * more than one tracking expression value resolve to the same key. (This would mean that two distinct objects are * mapped to the same DOM element, which is not possible.) * - * Note that the tracking expression must come last, after any filters, and the alias expression. + *
+ * Note: the `tracky by` expression must come last - after any filters, and the alias expression. + *
* * For example: `item in items` is equivalent to `item in items track by $id(item)`. This implies that the DOM elements * will be associated by item identity in the array.