Basic example via data attributes: (type 'Alas...')
Model: {{selected | json}}
                    
                            <input type="text" ng-model="selected" uib-typeahead="state for state in main.states | filter:$viewValue | limitTo:8" class="form-control" />
Basic asynchronous results example (type 'item...')
Model: {{asyncSelected | json}}
                    
                            <input type="text" ng-model="asyncSelected" placeholder="Locations loaded via $http" uib-typeahead="address for address in main.getLocation($viewValue)" typeahead-loading="loadingLocations" typeahead-no-results="noResults" class="form-control" />