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
Article Tags :
Recommended Articles