For your question, I found an explanation. You do not need to use firebaseObject, you must use ref directly:
var ref = new Firebase(FURL); createProfile: function(id ,user) { var profile = {`enter code here` name: user.name, email: user.email, gravatar: get_gravatar(user.email, 40) }; var profileRef = $firebaseArray(ref.child('profile').child(id)); return ref.child('profile').child(id).set(profile); },
In the code, I use ref to link to my URL. With profileRef, I created a child profile, and I added an id for the profile. Subsequently, I use ref directly to set the profile value for the identifier I want. You see, it is very easy.
source share