Okay so I'm doing some basic CRUD with AngularJS. Here's the view:
<table>
<tr ng-repeat=="person in persons | orderBy:lastName">
<td>
{{person.firstName}}
</td>
<td>
{{person.lastName}}
</td>
<td>
</td>
</tr>
<tr>
<td>
<input ng-model="person.firstName">
</td>
<td>
<input ng-model="person.lastName">
</td>
<td>
<button ng-click="save(person)">Save</button>
</td>
</tr>
</table>
The problem is that as you type a new user into the inputs, the position of that row jumps around to where it fits alphabetically. Obviously I want this to happen, but only when the user is done typing and hits "save."