What is the role of ng-app, ng-init and ng-model directives?
Answer Posted / 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 |
Post New Answer View All Answers
What is dependency injection in angularjs and how does it work?
What is the advantage of angular?
What sre the directives in angularjs?
How to configure angular routes?
What are browser events?
What is singleton in angularjs?
What is dependency injection (di)?
Explain how routing works in angularjs?
Distinguish between factory, service & provider?
What is patchvalue used for?
What is angular mainly used for?
What is the use of canactivate in angular?
What are the security threats should we be aware of in angular 2 application?
How to delete a row in angular js?
How to set headers for every request in angular?