Show loading indicator during CanActivate : <p>In my <strong>Angular</strong> application I'm using a <code>CanActivate</code> guard to protect the access in certain router state.</p>

<p>The <code>CanActivate</code> guard performs a check that can last 3-4 seconds and it is very annoyng to wait that time without a loading indicator (i.e. a spinner).</p>

<p>Is there a "standard" way to show a loading spinner during the CanActivate check?</p>

<p>Thanks a lot</p>
