onkeypress to ng-keypress