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 |
Explain angular 4 providers.
What classes should I add to module's declarations?
What is primeng and how can it be used with angular2?
How to use styleurls and styles in angular?
Which service does the html $compile service use for the purpose of data binding?
how to set a custom header on the request?
Explain ng-controller directive ?
What are the difference between @injectable() vs. @Inject() in angular 2?
What is pipe in rxjs?
Explain what is data binding in angularjs?
What do you mean by controllers?
Explain The Steps Involved In The Boot Process For AngularJS?