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 "track by" in angularjs and how does it work?
What are components life-cycles?
What is new in Angular 8?
How would you make use of ngoninit()?
What is ng in angular?
Explain property binding or one way binding in angular js?
How are performance improvements on the core in Angular 8?
What does full stack mean?
What is interceptor in angularjs?
What is router-outlet directive in angular?
How to do custom form validation in AngularJS?
Is angular 7 is stable?