I have two pages. One is /a
and the other is /b
.
There is the a tag in the A page. It is <a routerLink="b">B page</a>
.
My requirement is that users cannot directly access page B. they must click the a link from page A to access page B. how should I write my routing guard.