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

Commit

Permalink
docs(ngRepeat): highlight track by expression position
Browse files Browse the repository at this point in the history
  • Loading branch information
Narretz committed May 31, 2017
1 parent b4651e5 commit 3bce707
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ng/directive/ngRepeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* <div class="alert alert-warning">
* <strong>Note:</strong> the `tracky by` expression must come last - after any filters, and the alias expression.
* </div>
*
* 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.
Expand Down

0 comments on commit 3bce707

Please sign in to comment.