title: Firebase remove function do not work
body: <p>I'm building an app with Firebase and AngularJS and I have a table with my users.
  From one of my view I want to create a form permit to delete users from the Firebase table .
  So I have a drop down menu with my users names and submit button.</p>
  
  <p>I wrote a function to retrive the name of the user from the form and combine it with my url location of the user table, in fact the table has user name as id : </p>
  
  <pre><code>     $scope.Delete_user = function(name) {
            var testRef = new Firebase("https://alex-jpcreative.firebaseio.com/users")
            var newRef = testRef + '/' + name;
            $scope.removeUser(newRef);
        }
  </code></pre>
  
  <p>In this function I called the removeUser one that is a function I found in Firebase doc to delete a item from the table :</p>
  
  <pre><code>$scope.removeUser = function(ref) {
    ref.remove(function(error) {
   alert(error ? "Uh oh!" : "Success!");
   });
  }
  </code></pre>
  
  <p>I can see the first function working fine pass the right name of users and combine it with the URL but then I have this error and it doesn't work:</p>
  
  <blockquote>
    <blockquote>
      <p>TypeError: Object <a href="https://alex-jpcreative.firebaseio.com/users/Alex_dev_JPC" rel="nofollow">https://alex-jpcreative.firebaseio.com/users/Alex_dev_JPC</a> has no method 'remove'</p>
    </blockquote>
  </blockquote>