I'm working with Angular 1, angularfire and Firebase. I made the following call that returns the following data to me:
var _refLista = firebase.database().ref()
$scope.lista = $firebaseObject(_refLista.child('listas').child(idLista))
console.log($scope.lista);
In the console the data appears structured as follows:
{
nome: "nome da lista",
usuarios: [0:"OkJiuyhTfrdgF", 1:"kjIugYHTkiuh"]
}
In the view I can print everything, eg:
{{ lista.nome }}
{{ lista.usuarios }}
But when I try to access $ scope.list.users in the controller the result is always undefined.
Can anyone help?