Angular ရှိ routing တွင် URL အားလုံးကို ဖမ်းယူခြင်း
ဖြစ်နိုင်သော လိပ်စာအားလုံးကို ** command ဖြင့် ဖမ်းယူနိုင်ပါသည်။
အကယ်၍ မည်သည့်လိပ်စာမျှ မကိုက်ညီပါက error တစ်ခုကို ပြသရန် ၎င်းကို အသုံးပြုပါသည်။
ထိုသို့ လုပ်ဆောင်ကြည့်ရအောင်:
const appRoutes: Routes =[
{ path: 'aaaa', component: AaaaComponent},
{ path: 'bbbb', component: BbbbComponent},
{ path: '**', component: NotFoundComponent },
];
�ည်သည့် route မှ URL နှင့် မကိုက်ညီပါက ပြသမည့် component တစ်ခုကို ဖန်တီးပါ။