What is Controller in AngularJS?



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

Post New Answer

More AngularJS Interview Questions

What is service factory?

0 Answers  


What is the use of arrow function in angular 2?

0 Answers  


What is a ngmodule?

0 Answers  


what makes the angular.copy() method so powerful?

0 Answers  


How to bind selection box with options in the angular js?

0 Answers  


On what steps for the compilation process of html happens?

0 Answers  


Do I need angular?

0 Answers  


Can AngularJS have multiple ng-app directives in a single page?

0 Answers  


What is shadow dom and virtual dom?

0 Answers  


What is class in typescript?

0 Answers  


Which are the core directives of angular js?

0 Answers  


Why is namespace called "ng"?

0 Answers  


Categories