Sign in
vanadium
/
release.projects.luma_third_party
/
d199741ebff10de96f2c5beccc3a65c2ef491cf7
/
.
/
crowdstf
/
res
/
app
/
components
/
stf
/
admin-mode
/
admin-mode-directive.js
blob: 3c47abf0b9f68a9005e36e0b6982411b1dd6939d [
file
] [
log
] [
blame
]
module
.
exports
=
function
adminModeDirective
(
$rootScope
,
SettingsService
)
{
return
{
restrict
:
'AE'
,
link
:
function
()
{
SettingsService
.
bind
(
$rootScope
,
{
target
:
'adminMode'
,
defaultValue
:
false
})
}
}
}