typeahead is a AngularJS version of Twitter Bootstrap typeahead plugin
this directive can be used to quickly creating elegant typeheads with any form text input.
add class typeahead to your input to provide typeahead functionality.
Options can be passed via attributes in the input tag
items : number of items display in the dropdown min-length : minimum character length needed before triggering suggestions
You can also modify some methods if default ones don't fit with your usage
scope.matcher : method which determines if the query matches an item. Return an array of items that match. scope.updater : method which return the selected item. If you want to do more. (keep from the original bootstrap jquery component because it was a simple solution to let developers extend the component and keep it simple)
an AngularJS filter have been add to highlight the results.
Order the results