https://github.com/gopinav/Angular-Authentication-Tutorial/blob/3dd08ff53c3800c9d8a577a260452412d97a0166/ngApp/src/app/special-events/special-events.component.ts#L26 The page is shown for ~0.5s until server validate token, then router navigate to login page. Edit: Actually there is a solution in pull requests: https://github.com/gopinav/Angular-Authentication-Tutorial/pull/1
Angular-Authentication-Tutorial/ngApp/src/app/special-events/special-events.component.ts
Line 26 in 3dd08ff
The page is shown for ~0.5s until server validate token, then router navigate to login page.
Edit:
Actually there is a solution in pull requests: #1