In angularjs ng-keydown event directive is used to define events or execute custom functions immediately on key press in keyboard. The ng-keydown event will raise immediately whenever we press key on keyboard before release itself.
In angularjs ng-keypress event directive is used to raise events or execute custom functions or method immediately on key press in keyboard. if you want to raise an event on key press or call some custom functions immediately on key press in angularjs that better to use ng-keypress event.
In angularjs ng-keyup event directive is used to raise events or execute custom functions immediately when key is starting to press in keyboard. Suppose in angularjs application if you want to raise an event on keyup or call some custom functions immediately on key up it’s better to use ng-keyup event.
In AngularJS ng-submit directive specifies a function to be executed when the form is submitted. If you don't use the ng-submit directive in the form then it will not be submitted.
The angularJS ng-change directive, which is used with the input fields like textboxes, textarea, checkbox,select etc, evaluates the given expression as the value is changed by the user. The ng-change directive requires a ng-model directive to be present.
In angularJS Two way data binding is the automatic synchronization of data between the model and view components. When data in the model changes, the view reflects the change, and when data in the view changes, the model is updated as well.
In angularJS One way data binding means binding data from Model to View. the model values are automatically assigned to the HTML placeholder elements specified through the data binding notation, but the HTML elements don't change the values in the model.
In AngularJS ng-class directive use to set CSS class of an html element. The value of the ng-class must be a string, an object, or an array. If it is a string, it should contain one or more, space-separated class names. If it is an object, it should contain key-value pairs, where the key is the class name of the class you want to add, and the value is a boolean value. The class will only be added if the value is set to true.
In AngularJS ng-style directive use to set CSS style of a particular element. Its specifies the style attribute for the HTML element. The value of the ng-style attribute must be an object, or an expression returning an object. The object consists of CSS properties and values, in key value pairs.