A typeahead directive for AngularJs