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
Angularjs dependency injection of value inside of the module.config?
How do I know what version of angular I have?
What is angular testing? What are isolated unit tests? What are angular testing utilities?
What is the new in angular 7?
How to validate password and confirm password in angular 4?
What is ngzone run outside angular 2?
What is the aot?
What is angular unit testing?
What are the modules in angular 2?
How do you use singleton pattern?
What are the different types of filters in angularjs?
What is difference between http and httpclient in angular?
How to validate form in angular 4?
What is ng stand for?
What is difference between $interval and window. setInterval in AngularJS?