diff --git a/modules/angular1_router/src/ng_outlet.ts b/modules/angular1_router/src/ng_outlet.ts index 1fdfeac150..f6e346014a 100644 --- a/modules/angular1_router/src/ng_outlet.ts +++ b/modules/angular1_router/src/ng_outlet.ts @@ -154,8 +154,8 @@ function ngOutletDirective($animate, $q: ng.IQService, $rootRouter) { throw new Error('Component is not a string for ' + instruction.urlPath); } - this.controller.$$template = - '<' + dashCase(componentName) + ' $router="$$router">'; + this.controller.$$template = '<' + dashCase(componentName) + ' $router="::$$router">'; this.controller.$$router = this.router.childRouter(instruction.componentType); this.controller.$$outlet = this;