Angular က single-page application ဖြစ်တဲ့အတွက် လိုအပ်တဲ့ page တွေကို server ကနေ သွားယူစရာမလိုပဲ browser…
Route တွေခွဲပြီး pages သတ်မှတ်နိုင်ပြီဆိုရင် route ကနေ data တွေသယ်ယူပုံကိုလေ့လာရမှာ ဖြစ်ပါတယ်။
Routing နဲ့ပတ်သက်ပြီး အတော်များများကို လေ့လာပြီးတဲ့နောက်မှာ သိသင့်သိထိုက်တဲ့တချို့ feature တွေကိုဆက်ပြီး လေ့လာရပါမယ်။
Route တွေမှာ main route တွေရှိတဲ့အပြင် ဒီ route တွေကနေ ခွဲထွက်လာတဲ့ child route တွေရှိနိုင်ပါသေးတယ်။
Route နဲ့ပတ်သက်လို့ ထပ်ပြီးတော့ သိထားရမဲ့ feature တစ်ချို့ကို လေ့လာရပါမယ်။
Route တွေသတ်မှတ်တဲ့အခါ ကိုယ်သွားချင်တဲ့ route ကို URL ရေးပြီး သွားလို့ရပါတယ်။ ဒါပေမဲ့ တချို့ route တွေကို user အားလုံး…
ရှေ့ article မှာ router ကိုအသုံးပြုပြီး page ခွဲနည်းကို လေ့လာခဲ့ပြီ ဖြစ်ပါတယ်။ အခုဆက်ပြီးတော့…