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 |
What is constant in angularjs?
What is scope in angular?
What is difference between structural and attribute directives?
What is routeractive?
List some tools for testing angularjs applications?
How can you decrease the digest cycle time?
What are the main features of angularjs?
What do you know about uppercase filter and lowercase filter in angularjs?
What is the core difference between angularjs compilation and javascript frameworks?
What is interpolation in angular?
What is the difference between factory and service in angular 2?
How to viewing the angular 4 apps in a browser using ionic 3 cli?