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

How do components communicate with each other in angular 2?

815


What type of angular js date format?

753


Mention some advantages of using angular js framework.

896


How event emitters works in angular 2?

812


Explain ngfor and ngif?

768


What are the core components of angular 2?

808


What are pipes in angular 2?

831


What is a scope in AngularJS?

829


What is typescript ?

861


How to debug the $rootscope object of angularjs when in the browser?

784


What is ng-init in angularjs?

863


What is injectable in angular2?

828


How can you increase the performance of your angular application or decrease digest cycle time?

748


What do you mean by zone in angular 6?

793


Mention what are the styling form that model adds to css classes?

768