angular-hotkeys
angular-hotkeys copied to clipboard
Bugfix: Using hotkey per route applies wrong scope
- Copied hotkey information before applying it after route change. This way the function string is evaluated every time the route changes which then automatically refers to the correct, current scope then.
A little :+1: for this bugfix
See requested Plunker here: http://plnkr.co/edit/ZN4HaJifqS02s8nU4FZC