changed typeahead to use angularstrap directive