$scope.names = ['Abe', 'Bob', 'Catherine', 'Daisy']; <input type="text" ng-model="user" typeahead="name for name in names | filter:$viewValue" />