angular router navigate base href

Solutions on MaxInterview for angular router navigate base href by the best coders in the world

showing results for - "angular router navigate base href"
Matthew
07 Oct 2017
1providers: [
2    {
3        provide: APP_BASE_HREF,
4        useValue: '/' + (window.location.pathname.split('/')[1] || '')
5    }
6]
7
Gaia
05 Jul 2017
1import { APP_BASE_HREF } from '@angular/common';
2