@angular/router

Route

interface

A configuration object that defines a single route. A set of routes are collected in a Routes array to define a Router configuration. The router attempts to match segments of a given URL against each route, using the configuration options defined in this object.

  
    interface Route {  providers?: (EnvironmentProviders | Provider)[];}}
  
  
Jump to details