What is controller in angular?



What is controller in angular?..

Answer / Mansi Agarwal

In AngularJS (not Angular), a 'Controller' is a JavaScript object used to manage the application's state and logic, interacting with the model and view. With Angular, the concept of controllers has been largely replaced by components.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is two-way bindings?

1 Answers  


What are the disadvantages of angularjs?

1 Answers  


What would you have in a shared module?

1 Answers  


What is the difference between ngoninit and ngafterviewinit?

1 Answers  


What is cli in angular 2?

1 Answers  


What are the features of angular?

1 Answers  


Can’t retrieve the injector from angular js?

1 Answers  


What is activatedroute?

1 Answers  


What is a view in angular?

1 Answers  


List some inbuilt services in angularjs?

1 Answers  


What is @input and @output in angular?

1 Answers  


What is template angular 2? Why use?

1 Answers  


Categories