allow overriding of events in typeahead

the events are extracted to its own service allowing the decoration of
them