I'm currently working on an AngularJS application where I have implemented UI Select. Below is the HTML code snippet:
<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>
While the select filter provides a contains search functionality, I am looking to filter elements based on the criteria of starts with. I have come across several examples of a startswith filter, but I am struggling to integrate them into UI Select.