I have users data stored in firebase as
users : {
-KamJGmnL8S4Nn_okIcc : {
name: "Someone",
email: "example.com",
website: "somesite.com"
},
-laeghmnw8S4Nn_9inb47 : {
name: "Someone",
email: "example.com",
website: "somesite.com"
}
}
I need to add a new Object { collections: <key> : { ... }, <key>: { ... } } to an user, say the first user in the above object. I need to be able to push to collections as it can have several objects.
How can i do this with angularfire2?