What is the storage location of rootScope
values - cookie or local storage?
I am uncertain about how rootScope
works in angularjs
.
I am passing a value between two controllers, so I am using
$rootScope
.
I would like to understand how
$rootScope
functions and where its data is stored.Is it in
Local Storage
,cookie
, or somewhere else?