Issue #4: Fixes issue with dual event firing with keydown and keypress.

being bound to the directive.