docs: Move router tutorial (toh) from router.md to new file (#37979)

In an effort to make angular documentation easier for users to read,
we are moving the router tutorial currently in router.md to a new file.
To support this change, we have done the following:

* Update files to fix any broken links caused by moving the file
* Updated the new file to follow tutorial guidelines
* Add the new file to the table of  contents under, Tutorials.

PR Close #37979
This commit is contained in:
David Shevitz 🔵
2020-07-08 15:29:41 +00:00
committed by Andrew Scott
parent 4783a071f3
commit 88d68d2d21
8 changed files with 2926 additions and 2907 deletions

View File

@ -127,7 +127,7 @@ export class NavigationEnd extends RouterEvent {
/**
* An event triggered when a navigation is canceled, directly or indirectly.
*
* This can happen when a [route guard](guide/router#milestone-5-route-guards)
* This can happen when a [route guard](guide/router-tutorial-toh#milestone-5-route-guards)
* returns `false` or initiates a redirect by returning a `UrlTree`.
*
* @publicApi