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 $digest in angularjs?
What is impure pipe?
How to create & call angular 2 services in components?
Can we have nested controllers in AngularJS?
Difference between service, directive, and module?
What do you understand by services with reference to angular js?
What are components in angular?
Explain the process how do we exchange the data from front end to server?
What is rx observable?
Explain how component routing works in angular. How to define routes and sub-routes in angular 5?
What are the modules in angular 2?
Is angular harder than react?
What is bootstrapping in angular?
What are services in angular?
What are angular classes?