You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this is too obvious to merit documentation, but as someone new to ui-router, I can't seem to find how to access the state from a template so I can ngSwitch based on it. Likewise, how does one access the state from a controller? Is this documented somewhere? Thanks!
NB: I found $state.current.name available in controllers but this seems undocumented.
How about templates? Do I need to specifically expose $state.current.name into $scope?