Answer Posted / 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 View All Answers
What Is The Difference Between One-Way Binding And Two-Way Binding?
Can you write both angular 1 and angular 2 codes in a single project?
What is routing concepts in angular 2?
Explain what is directive and mention what are the different types of directive?
Why should I learn angular?
What happen when I import the same module twice?
What are angular observables?
What is router and why is it used in angular?
Explain bazel?
Why is it (potentially) bad if sharedmodule provides a service to a lazy-loaded module?
What is spa in angular?
What is the difference between a unit and end-to-end (e2e) test in angularjs?
What is a mocked service in angularjs? How to use it?
Explain what is string interpolation in angular.js ?
Explain how we can create module and using it in AngularJS?