Currently implementing https://github.com/angular-ui/ui-select and looking for a solution to trigger an event (such as opening a modal) when no results are found while using a filter.
<ui-select ng-model="SelectedCustomer.selected" theme="select2">
<ui-select-match placeholder="Enter Customer">
{{$select.selected.NAME}}
</ui-select-match>
<ui-select-choices repeat="customer in Customers | filter: $select.search">
<div ng-bind-html="customer.NAME | highlight: $select.search"></div>
</ui-select-choices>