fix(typeahead): incompatibility with ng-focus

Used timeout to avoid $rootScope:inprog error

Fixes #1773
Closes #1793