What is the role of ng-app, ng-init and ng-model directives?



What is the role of ng-app, ng-init and ng-model directives?..

Answer / 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

More AngularJS Interview Questions

Compare the features of AngularJS and jQuery?

0 Answers   CTS, SLK Software,


What is the difference between typescript and angular?

0 Answers  


What are Expressions in AngularJS?

1 Answers   SLK Software,


How to use angular js data grid/ng-grid?

0 Answers  


What is the difference between angular and angular material?

0 Answers  






What is web sockets?

0 Answers  


What are differences between template and templateurl?

0 Answers  


What is routerlink?

0 Answers  


Difference between constructor and ngoninit?

0 Answers  


Why you use browsermodule, commonmodule, formsmodule, routermodule, and httpclientmodule?

0 Answers  


What is difference between javascript and angular?

0 Answers  


Write the difference between directive and component in angular js?

0 Answers  


Categories