partial.html
484 Bytes
<div class="search-box">
<p class="lbl" ng-bind="lbl"></p>
<ui-select ng-model="address" theme="bootstrap" class="control">
<ui-select-match>
<p class="desc">{{$select.selected.Description}}</p>
</ui-select-match>
<ui-select-choices repeat="address in addresses" refresh="request($select.search)" refresh-delay="300" ng-click="selectAddress(address)">
{{address.description}}
</ui-select-choices>
</ui-select>
</div>