Typeahead build from Angular UI Bootstrap