title: Problems by deleting rows - AngularJS and Firebase
body: <p>The problem I am encountering is that if I have 2 or more rows and then want to delete a single row, it deletes all the rows at the same time. Maybe they are connected or not, strange behaviour.  </p>
  
  <p>This problem arised after I added <code>OrderByPriority</code> in order to search through the table. If I delete <code>OrderByPriority</code> I can delete the rows individually, but then I cannot search... Is there a way I can search through the table and also being able to delete single rows without deleting all the rows at the same time just by deleting a single row.</p>
  
  <p>Open for ideas and inpus. </p>
  
  <p><a href="https://plnkr.co/edit/40ktmcGS149rdPHqri2P?p=preview" rel="nofollow">Click here for plunker</a> </p>
  
  <p>Snapshot of a part in index.html: </p>
  
  <pre><code>&lt;table class="table table-striped"&gt;
        &lt;thead&gt;
          &lt;tr&gt;
            &lt;th&gt;#&lt;/th&gt;
            &lt;th&gt;Plate Number&lt;/th&gt;
            &lt;th&gt;Description&lt;/th&gt;
            &lt;th&gt;Price&lt;/th&gt;
            &lt;th&gt;&lt;/th&gt;
          &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody&gt;
          &lt;tr ng-repeat="(id, item) in items | orderByPriority | filter:search"&gt;
            &lt;td&gt;
  </code></pre>