Where is rootScope
values are stored? In cookie or local storage?
I have a small doubt about rootScope
in angularjs
.
I have passing a value between two controllers, So I have using the
$rootScope
.
I want to know how to
rootScope
Working? and where is therootScope
data stored?In
Local Storage
orcookie
or anything else?