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