Question:What is the role of ng-app, ng-init and ng-model directives?
Answer The main role of these directives is explained as: - 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.
+ Report
What is the role of ng-app, ng-init and ng-model directives?