Angularjs UI Select StartsWith search
<p>In my angularjs app I'm using  UI select.This is my Html</p>

<pre><code>&lt;ui-select name="service" multiple ng-model="service.ServiceName" close-on-select="false" &gt;
                &lt;ui-select-match placeholder="Select Services..."&gt;{{$item.ServiceName}}&lt;/ui-select-match&gt;
                &lt;ui-select-choices repeat="service in Services | filter: {ServiceName: $select.search} | filter:myFilter track by service.ServiceId"&gt;
                      {{service.ServiceName}}
                &lt;/ui-select-choices&gt;
</code></pre>

<p>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.</p>