improve code reuse of keypressHelper

I suggest allowing the usage of `keypressHelper` as an injectable service without the necessity to provide params as attribute value in a template.

Background:
I'm building a keyboard interface with many shortcuts and I intend to use `ui.keypress` method of denoting the combinations but it's not yet possible to use the helper in other directives in other way than providing the   mapping as JSON.