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

unsorted keys in ng-repeat "(key, value) in myMap" #12186

Closed
dimylik opened this issue Jun 22, 2015 · 1 comment
Closed

unsorted keys in ng-repeat "(key, value) in myMap" #12186

dimylik opened this issue Jun 22, 2015 · 1 comment

Comments

@dimylik
Copy link

dimylik commented Jun 22, 2015

Hi team,

Don't know is that a feature or bug, but in all Angular versions until 1.4.0 keys were sorted alphabetically, but not in 1.4.0/1.4.1
div ng-repeat="(key, value) in myMap"> {{ key }}

Check a plunker:
http://plnkr.co/edit/J0ctwgN2jLOH98LCNegx?p=preview

@gkalpak
Copy link
Member

gkalpak commented Jun 22, 2015

This is a (documented) breaking change in v1.4 (which has been requested for quite zealously: #6210).

@gkalpak gkalpak closed this as completed Jun 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants