@angular/common

APP_BASE_HREF

constant

A predefined DI token for the base href to be used with the PathLocationStrategy. The base href is the URL prefix that should be preserved when generating and recognizing URLs.

  
    const APP_BASE_HREF: InjectionToken<string>;
  
  
Jump to details