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 Routing in AngularJS?
What is activatedroute snapshot?
What’s new in angular 4? And what are the improvements in angular 4?
What is $emit, $broadcast and $on in AngularJS?
What is ngaftercontentinit?
What is callback function?
How many modules can be used in a single html page?
New html element?
What is aot?
How to upgrade angular 2 project to angular 4? Explain
What is *ngfor directive used for?
What is the use of polyfills.ts file in angular 2?