I've written directives in the past to handle different keys being pressed in an input form, but for the issue I'm having, I'm needing to be able make it so that when a user presses the tab key, it will handle it the same way as it would as if they had hit the enter key (no losing focus, submit form if needs be...).
Is it possible to intercept that event and tell the app it's an enter key instead, and then just do an event.preventDefault()
or something?