What do you mean by $rootscope in AngularJS?
Every application contains a single root scope, and the rest of the scopes are descendant scopes of the root scope. The function of scopes is to provide separation between the view and the model, via a mechanism for observing the model for changes. Scopes also provide event emission, event broadcast, and subscription facilities.
Note: This angular interview questions and answers for experienced peoples
BY Best Interview Question ON 01 Apr 2020