Skip to content

Commit

Permalink
refactor(ngRepeat): new ngRepeat code with support for custom hash fu…
Browse files Browse the repository at this point in the history
…nctions

feat($rootScope.$watchProps): new function for watching properties on collections
  • Loading branch information
matsko committed Mar 19, 2013
1 parent abaffba commit c137554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/directive/ngRepeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*
* For example: `(name, age) in {'adam':10, 'amalie':12}`.
*
* * * `$hash(item) from {repeat_expression}` – You can also provide an optional hashing function
* * `$hash(item) from {repeat_expression}` – You can also provide an optional hashing function
* which can be used to keep track of objects assigned within the ngRepeat repeat expression.
* A hashing function is used by ngRepeat to figure out which objects have been added, moved or removed within a list of
* items. By default, ngRepeat uses the index of each item within the list of items as a default hashing mechanism.
Expand Down

0 comments on commit c137554

Please sign in to comment.