diff --git a/modules/@angular/router/src/router_preloader.ts b/modules/@angular/router/src/router_preloader.ts index 39205e79b1..753f54c42e 100644 --- a/modules/@angular/router/src/router_preloader.ts +++ b/modules/@angular/router/src/router_preloader.ts @@ -95,7 +95,7 @@ export class RouterPreloader { private processRoutes(injector: Injector, routes: Routes): Observable { const res: Observable[] = []; for (const c of routes) { - // we already have the config loaded, just recurce + // we already have the config loaded, just recurse if (c.loadChildren && !c.canLoad && (c)._loadedConfig) { const childConfig = (c)._loadedConfig; res.push(this.processRoutes(childConfig.injector, childConfig.routes)); @@ -122,4 +122,4 @@ export class RouterPreloader { }); }); } -} \ No newline at end of file +}