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 are the advantages of angular 2 ?
What are improvements in angular 6?
What is cookie based authentication in angular 4?
What are events in angular?
What are the differences angular modules, javascript modules vs. Angular 1 modules?
How does change detection work in angular?
What are the data bindings m angular?
Why do we use angular 2?
What selector forces a style down through the child component tree into all the child component views?
What is difference between $timeout and window.setTimeout in AngularJS?
What is ng bind in angular?
What is testability like in angular?