Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label>Type:</label>
- <select ng-model="filterType" ng-options="item.type as item.type for item in samples | unique:'type'">
- <option value="">Select</option>
- </select>
- <table class="table">
- <tr>
- <th>#</th>
- <th>Name</th>
- <th>Type</th>
- <th>Status</th>
- </tr>
- <tr ng-repeat="item in samples | filter:filterType">
- <td>{{item.id}}</td>
- <td>{{item.name}}</td>
- <td>{{item.type}}</td>
- <td>{{item.status}}</td>
- </tr>
- <tr ng-repeat="item in samples | filter:{status: filterStatus, type: filterType} ">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement