typeahead pull request

This is a typeahead directive purpose.

you can see it in action here :
http://jsfiddle.net/guillaumebiton/hNxF7/

Sorry but I need help for unit tests. never use. I am very interesting to learn how to set them.