chore(typeahead): split template to external file