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