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
Does bootstrap require jquery?
Can’t retrieve the injector from angular js?
What is @injectable in angular?
What is template? Why use? Detail?
What are the services in angular js?
What is the global api in angularjs?
How is angularjs compiled?
What are the interview questions for angularjs?
What difference between ng-app vs. Data-ng-app and x-ng-app?
What is the difference between routermodule.forroot() vs routermodule.forchild()? Why is it important?
What is routerlink?
How do you share data between controllers?
What is typeofchecks in angular 8?
Is it possible to have multiple ng-app directives on a single page in angularjs?
What are angular filters?