AngularUI-Bootstrap Typeahead: Grouping results
I used to have a similar requirement and here is how I did it that time. Example Plunker: http://plnkr.co/edit/zujdouvB4bz7tFX8HaNu?p=preview The trick is to set the typeahead-template-url to a custom item template: <input type=”text” class=”form-control” placeholder=”Users loaded from local database” ng-model=”selectedUser” typeahead=”user as user.name for user in getUsers($viewValue)” typeahead-template-url=”typeahead-item.html” /> The item template, this represent each … Read more