Question:What is Controller in AngularJS? 

Answer The controller defines the actual behavior of your app. It contains business logic for the view and connects the model to view with the help of $scope. A controller is associated with a HTML element with the ng-controller directive. 

+ Report
Total Preview: 1072
What is Controller in AngularJS?
Copyright © 2024. Powered by Intellect Software Ltd