diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index 3760fe0457..1755434252 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -169,7 +169,7 @@ To get information from a route: ngOnInit() { - this.activatedRoute.queryParams.subscribe(params => { + this.route.queryParams.subscribe(params => { this.name = params['name']; }); }