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

What is the traceur compiler?

756


What are the directives in angularjs?

718


What is lazy loading images?

761


Explain .config() and .run() methods in angularjs?

716


How do you use $filter?

699


How to declare a component in angular 2?

830


What is the difference between $evalasync and $timeout in angularjs?

847


Explain directive scopes in angularjs?

745


How to using looping through a collection for each item in angular js?

804


How many types of ngmodule?

748


What is the use of $event?

739


What is eager loading in angular 4?

764


When did you use currency filter in angularjs?

710


what is angular expression?

756


What are the difference between component and directive in angular 2?

960