Typeahead directive for angular