From 3154cea0bf903285491a434863b794eeb7cae6b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matias=20Niemel=C3=A4?= Date: Mon, 15 Jun 2015 00:46:17 -0700 Subject: [PATCH] docs(router): `alias` should be `as` --- modules/angular2/src/router/router_link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/src/router/router_link.ts b/modules/angular2/src/router/router_link.ts index 486f6d33b2..5e0ce75185 100644 --- a/modules/angular2/src/router/router_link.ts +++ b/modules/angular2/src/router/router_link.ts @@ -17,7 +17,7 @@ import {Location} from './location'; * ``` * @RouteConfig({ - * path: '/user', component: UserCmp, alias: 'user' + * path: '/user', component: UserCmp, as: 'user' * }); * class MyComp {} * ```