angular-ui/angular-ui — pull request #73 by pkozlowski-opensource (2012-07-18 21:17:12+00:00)
Title: Fix for the keypress issue #57 plus tests

Hi! I'm trying to scratch my own itch here and sending a PR with the tests and fix for #57 opened by me for the keypress directive. The commit has mostly tests for the existing functionality plus a small fix making #57 solved for real. This commit also aligns $event handling (and inner working) of the keypress directive with the work done by Andy on the event directive.
I reallllly need this keypress thing working and hate to duplicate efforts on my side so would be great if you could merge this one (or at least comment on all the bad/sub-optimal things I did).