//Fix for sorting objects. By default they are sorted by associative index.
//<div ng-repeat="key in notSorted(objToRepeat)" ng-init="value = objToRepeat[key]"></div>
$scope.notSorted = function(obj){
if (!obj) {
return [];
}
return Object.keys(obj);