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 dependency injection in angular 2?

0 Answers  


What is impure pipe in angular?

0 Answers  


In angular what is string interpolation?

0 Answers  


Which is easier to learn react or angular?

0 Answers  


How can we achieve internationalization using angular 2 ?

0 Answers  






What is 'transfer data to and from the ui' in angularjs?

0 Answers  


What is RouterOutlet?

0 Answers  


What are some differences between angular 2 and 4?

0 Answers  


What do u mean by router?

0 Answers  


What are the characteristics of 'scope'?

0 Answers  


Define the features of angularjs.

0 Answers  


Is AngularJS is compatible with all modern browsers?

0 Answers  


Categories