Skip to content
Related Articles

Related Articles

Web technologies Questions | AngularJS Quiz | Set-2 | Question 9

View Discussion
Improve Article
Save Article
  • Last Updated : 20 Sep, 2021
View Discussion
Improve Article
Save Article

How many numbers of $RootScope does in Angular Js?

(A)

2

(B)

3

(C)

1

(D)

4


Answer: (C)

Explanation:

If the variables contain the same name in the rootscope then the controller or the application will use the current scope. An app can have only one $rootScope which will be shared among all the components of an app.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!