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 Ng-View In AngularJS?
What are the advantages of token-based authentication?
What classes should I add to module's declarations?
What is hidden property in angular 2?
What is directive and what are the different types of directives?
What does ng bind do?
What is a component angular?
What are angular 4?
Why are decorators used in angular 2?
Mention some advantages of using angular js framework.
Explain service? When we should use service?
How do you resolve a template url relative to a component class?