On ng-keydown directive KeyDown value is set to true.For true value of expression KeyDown class is apply otherwise keyUp class is apply.
ng-keydown
KeyDown
keyUp