In this example of Ng-Keydown
, We have added validation on key down of text boxes. Textbox is used to get the age of user so if user will enter value other then numeric then that will be invalid value. So we added validation on textbox keydown using Ng-Keydown