angular-ui global key bindings
问题 I've started using the angular-ui keypress module and was wondering if there is a way to make global shortcut keys which work no matter where I'm placed within the body. I've tried linking my ui-keydown to the body but as it's not in focus the key events are not fired. eg: <body ui-keydown="{'pageup':'nav_to($event, \'users\')'}"> I know I could just focus a div and attach the key bindings to that but what happens when I have a form and I want to access all the global key bindings within each