I have a code something like this with ng-repeat = \"(key,value) in data\". In Controller:
$scope.Dates = {\"Today\":\"30\",
\"This Wee
This is fixed as of Angular 1.4.
See details here:
Previously, the order of items when using ngRepeat to iterate over object properties was guaranteed to be consistent by sorting the keys into alphabetic order.
Now, the order of the items is browser dependent based on the order returned from iterating over the object using the
for key in objsyntax.It seems that browsers generally follow the strategy of providing keys in the order in which they were defined...