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 modular view engine architecture?
Explain ng-repeat directive ?
What are the characteristics of 'scope'?
What is a controller?
When should we use angular?
What are custom directives in angular?
What is routerlink in angular?
What is a guard in angular?
What are the core dependencies of angular 7?
What is Data Binding? How Many Types Of Data Binding Directives Are Provided By AngularJS?
What are services in angularjs?
What are the differences in ngmodules and javascript modules?
What are the expressions in angularjs?
How to bind to user input events to component event handlers?
What is difference between javascript and typescript?