@angular/router

provideRoutes

function
Deprecated

Registers a DI provider for a set of routes.

  function provideRoutes( routes: Routes): Provider[];  
Jump to details