What is the role of ng-app, ng-init and ng-model directives?
Answer / chaitanya
. ng-app - Initialize the angular app.
. ng-init - Initialize the angular app data.
. ng-model - Bind the html elements like input, select, text area to angular app model.
| Is This Answer Correct ? | 3 Yes | 0 No |
What are the controllers in angular js?
How to create custom directives?
What is main ts in angular?
Explain component life cycle in angular?
What is use of $routeprovider in angular js?
What is $sce?
What is the forroot method in angular4?
How to format a date in angularjs?
What is the difference between angularjs and node.js?
What is aot and jit in angular?
What is forms in angular?
What are custom directives in angular?