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
How can you decrease the digest cycle time?
What are the differences between link and compile?
What is an impure pipe?
Is primefaces free?
What an angular 5 component made of? How do you generate a new component?
What do you mean by data binding?
How angular 4 is different from angular 2?
What are $scope in angular js?
What do you understand by services with reference to angular js?
What types of ngmodules?
What is the json web token structure?
Explain ng-disabled directive angularjs?
What is the need of angular 2?
What would be a good use case for having your own routing module?
Is angular 4 a framework?