angular route default page code example Example: set default route angular {path:'',redirectTo:'login', pathMatch: 'full' },