For an Angular JS app I wanted to focus on form fields with a shortcut[1]. As
the framework does not provide a way to focus on any DOM elements, we have to
write our own.
We need two parts for this. One directive to hook our functionality:
app.directive(