provideRoutes
function
Deprecated
Registers a DI provider for a set of routes.
API
Usage Notes
function provideRoutes( routes: Routes): Provider[];
Jump to details
Registers a DI provider for a set of routes.
function provideRoutes( routes: Routes): Provider[];
Provider[]
Registers a DI provider for a set of routes.
If necessary, provide routes using the ROUTES
InjectionToken
.
Provider[]