I would like to use AngularJS to filter users status active or reject. but one user whose name is peter reject. when I use select tag method to show the user whose status is reject and hide the user whose status is Active. Unfortunately, it also show "Peter Reject"'s information, but his status is Active.
My Html file.
Status:
<select class="select" ng-model="select1">
<option value="Active">Active</option>
<option value="Reject">Reject</option>
</select>
<table>
<th>Name</th>
<th>Status</th>
<tr ng-repeat="item in items | filter : select1>
<td>{{item.name}}</td>
<td>{{item.status}}</td>
</tr>
</table>
My json file:
[{"name":"joe jonas","status":"Active"},
{"name":"Peter Reject","status":"Active"},
{"name":"Marilyn Monroe","status":"Reject"}]
I just want to show the users who status is Reject column, any idea?? Thanks you very much.

