What is difference between rootscope and scope in angular 2?



What is difference between rootscope and scope in angular 2?..

Answer / Anupama Srivastava

RootScope and Scope are both prototypes of an object used to store data shared across an entire application or a part of it. However, there's one main difference: RootScope has a higher priority than Scope objects. This means that any change in RootScope will be reflected in every Scope below it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is constant in angularjs?

1 Answers  


What is scope in angular?

1 Answers  


What is difference between structural and attribute directives?

1 Answers  


What is routeractive?

1 Answers  


List some tools for testing angularjs applications?

1 Answers  


How can you decrease the digest cycle time?

1 Answers  


What are the main features of angularjs?

1 Answers  


What do you know about uppercase filter and lowercase filter in angularjs?

1 Answers  


What is the core difference between angularjs compilation and javascript frameworks?

1 Answers  


What is interpolation in angular?

1 Answers  


What is the difference between factory and service in angular 2?

1 Answers  


How to viewing the angular 4 apps in a browser using ionic 3 cli?

1 Answers  


Categories