-
Notifications
You must be signed in to change notification settings - Fork 646
Closed
Description
For state things that are changing like logged in state or the current tab to highlight, what's the best way to make those values accessible in the scope?
For instance:
- Use values such as
scope.isLoggedInandscope.currentTab. Set those values usingscope.watchor after services run that may change the value. - Use functions or services attached to the scope such as
scope.isLoggedIn()andscope.currentTab()which return values based values from other scrope variables or values within the controller or service closures.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels