Improve this doc View source

ifUserStateUnknown
directive in module stormpath

Description

Use this directive to show an element while waiting to know if the user is logged in or not. This is useful if you want to show a loading graphic over your application while you are waiting for the user state.

Usage

as attribute
<ANY if-user-state-unknown>
   ...
</ANY>

Example

<div if-user-state-unknown>
  <p>Loading.. </p>
</div>