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
Explain ng-init directive ?
Difference between display:none & visiblity:hidden?
Why do we use angular material?
Name the types of linking function?
How to validate an url in angularjs?
What types of pipes are supported in angular 2?
Explain the differences between javascript and angularjs?
What is the difference between the $watch, $digest, and $ apply?
How many scopes can an application have?
Explain ng-include directive in angularjs?
What is routes?
How to create and use custom pipes? How to create a globally available custom pipe?
What is angular routing?
How will you initialize a select box with options on page load?
What is binding in angular?