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
Total Preview: 1079
What is the role of ng-app, ng-init and ng-model directives?
Copyright © 2024. Powered by Intellect Software Ltd