I\'m trying to write an angularjs custom filter that checks whether an array of countries contains a search string entered by the user.
The string can consist of on
Take a look at the Angular-UI-Bootstrap directive for typeahead it does exactly what you want: http://angular-ui.github.io/bootstrap/#/typeahead
typeahead