I'm trying to filter using dropdown and change value dynamically in ng-repeat, not sure how to do it, any hints?
Dropdown:
<label>Status</label>
<select class="form-control" ng-model="currentlySelected">
<option value="">All</option>
<option value="inactive">Inactive</option>
<option value="active">Active</option>
</select>
Filter condition:
filter disable for All results
filter: {deleted_at : ''} --> Inactive results
filter: {deleted_at : null} --> Active results
View:
<tr ng-repeat="user in users">