title: Adding data to existing Firebase data using AngularFire
body: <p>I'm trying to add data to existing data within Firebase using AngularFire my data currently looks like this, very simple list of clients:</p>
  
  <p><code>
  clients<br>
    --Firebase UID<br>
    ----client: Client1<br>
    --Firebase UID<br>
    ----client: Client2<br>
    --Firebase UID<br>
    ----client: Client3
  </code></p>
  
  <p>But I want to be able to add under the client sections such as team with a list of team members and some of their details. eg</p>
  
  <p><code>
    --Firebase UID<br>
    ----client: Client1<br>
    ------team: {Bob: {email: address, position: developer}, Peter: {email: address, position: developer}}<br>
    --Firebase UID<br>
    ----client: Client2<br>
    --Firebase UID<br>
    ----client: Client3
    ------team: {Bob: {email: address, position: developer}}
  </code></p>
  
  <p>This is my current code:</p>
  
  <p><code>
    var firebaseURL = 'https://&lt;myfirebase&gt;.firebaseio.com/clients';<br>
    $scope.clients.team = {Bob: {email: address, position: developer}, Peter: {email: address,   position: developer}};<br>
    $scope.clients.$save(Client1);
  </code></p>
  
  <p>All I keep getting is the following error:</p>
  
  <p>Error: Firebase.set failed: First argument contains undefined
      at Error (native)</p>
  
  <p>I've looked at the AngularFire documentation here <a href="https://www.firebase.com/docs/angular/reference.html#save-key" rel="nofollow">https://www.firebase.com/docs/angular/reference.html#save-key</a> and believe I've followed it correctly.</p>