PreloadAllModules

Experimental

Class

What it does

Provides a preloading strategy that preloads all modules as quicky as possible.

How to use

RouteModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})

Class Overview

class PreloadAllModules implements PreloadingStrategy {
preload(route: Route, fn: () => Observable<any>) : Observable<any>

}

Class Description

Class Details

exported from router/index, defined in router/src/router_preloader.ts