I have a code something like this with ng-repeat = \"(key,value) in data\". In Controller:
$scope.Dates = {\"Today\":\"30\",
\"This Wee
I was able to sort an Object of Strings by Key alphabetically like this with ng-repeat!
In my controller:
$scope.build_config = {
build_path : "/x/eng/build",
arch : "x86",
variant : "debug",
run_method : "boot",
};
$scope.get_keys = function (obj) {
if (obj)
return Object.keys(obj);
};
In my HTML:
{{key}}
{{selected.build_config[key]}}