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 coected or not, strange behaviour.
This problem arised after I added OrderByPriority in order to search through the table. If I delete OrderByPriority I can delete the rows individually, but then I caot 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.
Open for ideas and inpus.
Snapshot of a part in index.html:
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Plate Number</th>
<th>Description</th>
<th>Price</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="(id, item) in items | orderByPriority | filter:search">
<td>
