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 $scope and $rootScope?

Answer Posted / chaitanya

The $rootScope is the top-most scope. An app can have only one $rootScope which will be shared among all the components of an app. Hence it acts like a global variable. All other $scopes are children of the $rootScope.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me angular js date calendar with example?

873


What are events binding in angular 4?

862


In angular js, we need to worry about security holes?

962


What is AngularUI router and how it is different from ngRoute?

1455


List some inbuilt services in angularjs?

782


What is ngcontent?

851


What are the expressions in angularjs?

814


How are you managing cookie in AngularJS

1282


What is p table in angular?

812


Explain about angularjs service?

853


Is ngmodel deprecated?

848


How google handles security in angular 4 applications?

870


Can we have nested controllers in AngularJS?

927


Why do we use angular 2?

870


Explain ng-app directive in angular.

897