What is Controller in AngularJS?
Answer / chaitanya
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.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is ng bind in angular?
What is the difference between directives and services?
What is the function of the $timeout service?
What is components in angular?
What is the json web token structure?
Is angular or react easier to learn?
What is the difference between factory and service in angularjs?
What is the factory method in angularjs?
Explain ng-bind directive ?
What is splice method?
Explain what a digest cycle is in angularjs?
What are differences between constructors and oninit?