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 |
Is angularjs extensible?
How to get user input from a template reference variable?
What is dom in simple terms?
In angular js, we need to worry about security holes?
What is * ngfor?
Can angular applications (ng-app) be nested within each other?
What are the uses of controllers in angularjs?
How many times ngoninit is called?
Is ngmodel deprecated?
How can you handle errors in angular 2 applications?
What is the use of a filter?
What is bazel in angular 8?