how to set to default route if have only one component in angular code example Example: set default route angular {path:'',redirectTo:'login', pathMatch: 'full' },