Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3bce707

Browse files
committed
docs(ngRepeat): highlight track by expression position
1 parent b4651e5 commit 3bce707

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ng/directive/ngRepeat.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@
215215
* more than one tracking expression value resolve to the same key. (This would mean that two distinct objects are
216216
* mapped to the same DOM element, which is not possible.)
217217
*
218-
* Note that the tracking expression must come last, after any filters, and the alias expression.
218+
* <div class="alert alert-warning">
219+
* <strong>Note:</strong> the `tracky by` expression must come last - after any filters, and the alias expression.
220+
* </div>
219221
*
220222
* For example: `item in items` is equivalent to `item in items track by $id(item)`. This implies that the DOM elements
221223
* will be associated by item identity in the array.

0 commit comments

Comments
 (0)