I have a code something like this with ng-repeat = \"(key,value) in data\". In Controller:
$scope.Dates = {\"Today\":\"30\",
\"This Wee
Well, as explained in Angular's documentation for ngRepeat
https://docs.angularjs.org/api/ng/directive/ngRepeat#iterating-over-object-properties
when using it to iterate over the properties of an object, it will not work
The built-in filters orderBy and filter do not work with objects, and will throw an error if used with one.
The best solution in this case I think that is using arrays instead of an object and its properties. Therefore, just convert it to an array, iterating the properties of your object and pushing to the new array for example. After all, I think that would be the natural choice to a collection, instead of a single object with many properties.