Here is my Firebase database, I want to get the object keys as a list:
var mydb = DatabaseRef.ref("projects").orderByKey();
$scope.mylist= $firebaseArray(mydb);
var data = $scope.mylist;
How can I get the keys of the object of data as array list?