Need to add multiple filter in angular uiselect2.
<div class="form-group ">
<ui-select id="abc" ng-model="abc" multiple theme="bootstrap" >
<ui-select-match placeholder="Select abc..." class="ui-select-match">{{$item.name | capitalize}}</ui-select-match>
<ui-select-choices id= "abchoice" class="ui-select-choices" repeat="item in itemDetails| filter: $select.search ">
<div id="selected_{{item}}" ng-bind-html="item .name | capitalize | highlight: $select.search" style="padding: 0px; "></div>
</ui-select-choices>
</ui-select>
</div>
I have
itemDetails=["a","b","c"]
orderItem=["c"]
And I need to filter it by filter: $select.search also by orderItem. How to add this custom filter in ui-select?
IN dropdown I shoud get only a, b, i should filter c