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 |
What is spa in angularjs?
Explain ng-bind and ng-bind-html directives.
How can we fix it?
How to get image width height in angular js, before uploading a file?
What are filters in angularjs? Can you list some?
What is unit testing in angular 2 and also explain its benefits?
How to do login and logout using ionic 3 and angular 4?
Explain two-way binding in angularjs?
Is angular a programming language?
What is @ngmodule in angular 2?
What is router-link directive in angular?
When should you use an attribute versus an element?