diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index beeaf6f5892..86d629e1c75 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -184,7 +184,7 @@ The Angular router selects this route any time the requested URL doesn't match a To set up a wildcard route, add the following code to your `routes` definition. ``` -{ path: '**', component: <component-name> } +{ path: '**', component: PageNotFoundComponent } ``` The two asterisks, `**`, indicate to Angular that this `routes` definition is a wildcard route.