Explain $rootscope in angularjs.



Explain $rootscope in angularjs...

Answer / Ranjeet Singh Chahar

$rootScope is a special scope object in AngularJS that serves as the topmost scope in an application hierarchy. It's used for sharing data across different parts of the application, including between child and parent scopes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is the difference between the $watch, $digest, and $ apply?

1 Answers  


How to sanitize a value manually?

1 Answers  


What is property binding?

1 Answers  


What is an event listener?

1 Answers  


How to create datepicker in angular 4?

1 Answers  


What is ViewEncapsulation?

1 Answers  


What are lifecycle hooks and why it is important?

1 Answers  


Enlist major matchers available in jasmine?

1 Answers  


What is ivy in angular?

1 Answers  


How to create a service in angular?

1 Answers  


What are angular expressions?

1 Answers  


When to use factory?

1 Answers  


Categories