Update typeahead to fix #1773

Used timeout to avoid $rootScope:inprog error