I have a question that is related to querying denormalized data with AngularFire. I am looking for a solution specifically using AngularFire (current version 0.82). Here is an example of the data structure I am working with:
{
"users": {
"user1": {
"name": "Alice",
"lists": {
"list1": "true"
}
},
"user2": {
"name": "Bob",
"lists": {
"list2": "true"
}
}
},
"lists": {
"list1": {
"title": "Example"
},
"list2": {
"title": "Example2"
}
}
}
In another notation, to retrieve all lists of a user we need to access:
users/$userID/lists/$listID
The content of the lists can be found at:
lists/$listID
My goal is to access the content of a specific user's lists without manually iterating over each $ListID.
A more advanced response could provide code that encapsulates this access in an extended service for AngularFire, similar to the example under "Creating AngularFire Services" in the AngularFire documentation.