diff --git a/modules/angular2/src/router/router.ts b/modules/angular2/src/router/router.ts index 578b08d397..d0a3413ce3 100644 --- a/modules/angular2/src/router/router.ts +++ b/modules/angular2/src/router/router.ts @@ -87,7 +87,7 @@ export class Router { */ registerPrimaryOutlet(outlet: RouterOutlet): Promise { if (isPresent(outlet.name)) { - throw new BaseException(`registerAuxOutlet expects to be called with an unnamed outlet.`); + throw new BaseException(`registerPrimaryOutlet expects to be called with an unnamed outlet.`); } this._outlet = outlet;