This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Allow Map.values in ng-repeat #397
Closed
Description
Often the natural way to store data is in a Map, and I'd like to use Map.values in an ng-repeat. ng-repeat has support for Iterable, but HashMap.values creates a new object on each call, so it fails the identical() check used in $watch. This leads to a $digest loop. $watch should be robust to this.
If this isn't possible, it would be nice if $digest loops noticed that they were caused by the underlying collection changing object ids and printed a less confusing error.
Metadata
Metadata
Assignees
Labels
No labels