Suppose I have two ngRoutes, route1 and route2, where route1 shows a list of companies and route2 displays details about that company.
In route2 I want hotkeys to work (Ctrl + Up ). When I first visit route2 for a company, the hotkey binding works. Then when I go back to route1 and select another company (even the same), the hotkey is no longer firing.
@gentisaliu This is a bug, which I've fixed in the above PR. It's unlikely to get merged, though; @chieffancypants hasn't been responding for a long time. Feel free to use my fork.
Suppose I have two ngRoutes,
route1
androute2
, whereroute1
shows a list of companies androute2
displays details about that company.In
route2
I want hotkeys to work (Ctrl + Up ). When I first visitroute2
for a company, the hotkey binding works. Then when I go back toroute1
and select another company (even the same), the hotkey is no longer firing.Is my configuration wrong or is this a bug?
Plunkr which reproduces the issue: http://plnkr.co/edit/wnpchyabeKGuciDJ6H5E?p=preview