You can use $firebaseUtils.toJSON()
, which AngularFire uses in its $save()
method:
var customerData = {};
customerData["Customers/" + user.uid] = $firebaseUtils.toJSON(firebaseObject);
customerData["ProjectOverview/" + user.uid] = "value";
ref.update(customerData);
0
solved Combine $FirebaseObject and multi location updates