fix(typeahead): Avoids potential $digest errors