Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Controller in AngularJS?

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


Please Help Members By Posting Answers For Below Questions

Explain ng-init directive ?

825


Difference between display:none & visiblity:hidden?

779


Why do we use angular material?

793


Name the types of linking function?

799


How to validate an url in angularjs?

871


What types of pipes are supported in angular 2?

859


Explain the differences between javascript and angularjs?

860


What is the difference between the $watch, $digest, and $ apply?

824


How many scopes can an application have?

795


Explain ng-include directive in angularjs?

814


What is routes?

828


How to create and use custom pipes? How to create a globally available custom pipe?

809


What is angular routing?

774


How will you initialize a select box with options on page load?

999


What is binding in angular?

783