In my angularjs app I'm using UI select.This is my Html
<ui-select name="service" multiple ng-model="service.ServiceName" close-on-select="false" >
<ui-select-match placeholder="Select Services...">{{$item.ServiceName}}</ui-select-match>
<ui-select-choices repeat="service in Services | filter: {ServiceName: $select.search} | filter:myFilter track by service.ServiceId">
{{service.ServiceName}}
</ui-select-choices>
Select filter provides contains search but I want to filter elements on the basis of StartsWith.I have seen a couple of examples of startswith filter but I'm unable to incorporate them in UI Select.