AngularJS is JavaScript framework which simplifies binding of JavaScript object to html UI elements.
AngularJS makes use of directives to give new behavior to html UI elements. Some examples:-
AngularJS makes use of directives to give new behavior to html UI elements. Some examples:-
- ng-ap - Used to initialize angular application.
- ng-init - Used to initialize angular application data.
- ng-controller - Used to bind $scope which is a JavaScript object to HTML UI element.
- ng-repeat - Works like a for loop.
- ng-disabled -Takes boolean value used to enable or disable html elements.
- ng-show - Accepts boolean value used to show or hide html elements.
- ng-hide - Accepts boolean value used to show or hide html elements.
- ng-bind - Used to bind model to HTML UI element.
- ng-model - binds the value of the input field to the application variable name.
- ng-if - Accepts boolean value
- ng-click - Used to execute a function.
- ng-submit - Used to execute a function.
No comments:
Post a Comment