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

What is traceur compiler? Why in angular 2?

0 Answers  


How will you explain manual bootstrap process in angularjs?

0 Answers  


What is service method?

0 Answers  


Is angularjs dependent on jquery?

0 Answers  


What is transclusion in angular?

0 Answers  






What is angular8?

0 Answers  


What is location path?

0 Answers  


How will you show/hide buttons and enable/disable buttons conditionally?

0 Answers  


What is a promise in angular?

0 Answers  


What is services in angular?

0 Answers  


What is the linking function and what are the types of linking function?

0 Answers  


Explain factory methods in angularjs?

0 Answers  


Categories