change default routing for angular with #/ code example Example: set default route angular {path:'',redirectTo:'login', pathMatch: 'full' },