This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Support ES2015 Sets/iterables in ng-repeat #14600
Open
Description
Currently if I put an ES2015 Set
into ng-repeat
I get no result (as the instance has no enumerable properties).
I have to use Array.from
to convert Set
s to arrays all the time. However, this call is not supported by Chrome until recently (even though the Set
API existed long ago).
Theoretically this can be a generic implementation for (incl. Arrays), but I forsee issues with change detection, so I guess a Set-specific implementation might be suffice.