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 do you understand by constants in angular?

0 Answers  


What are events in angularjs?

0 Answers  


Explain what directives are? Mention some of the most commonly used directives in angularjs application?

0 Answers  


What is internationalization in angularjs?

0 Answers  


Explain zone in angular?

0 Answers  






Explain the reasons that compel a web developer to choose angularjs for his web development project?

0 Answers  


What is life cycle hook in angular?

0 Answers  


How do you stop ng serve?

0 Answers  


What is the difference between $scope and scope in angular?

0 Answers  


What is data binding and its types?

0 Answers  


What is ng command?

0 Answers  


How google handles security in angular 4 applications?

0 Answers  


Categories