title: Firebase - Delete a node
body: <p>I am building an ionic+angular+firebase application.
  I am unable to delete a node from my firebase collection. I have an html view which displays a list of items from an array(using ng-repeat). This is how my view looks:</p>
  
  <pre><code>test@testmail.com : 23
  fire@firemail.com : 784
  </code></pre>
  
  <p>I have a delete button which allows the user to delete an item from the array and this in turn should delete the object from my firebase collection. I want to order the collection using the eventid and then delete the node with bill:23 and email:"test@testmail.com"</p>
  
  <pre><code>Bill
  -KMhWUkwDFwlRvqv0kDG
    bill: 23
    email: "test@testmail.com"
    eventid: **42539660**
  
  -KN0_OUYJf_XQJSLPgmi
   bill: 784
   email: "fire@firemail.com"
   eventid: **42539660**
  </code></pre>
  
  <p>I am able to get all the bills with a specific eventid using the query:</p>
  
  <pre><code>var id = 42539660;
  billref.orderByChild('eventid').equalTo(id).on("value", function (snapshot) {
  }
  </code></pre>
  
  <p>but i am not sure how to proceed from here to delete the specific node. Thanks for your time.</p>