What is Child Routes in Angular | Angular Routing | Angular 13+

preview_player
Показать описание
In this lecture, we will have a look at how to add a child or nested routes to an Angular route. Child Routes or Nested routes are a powerful new feature in the Angular router.

Nested routes are routes within other routes. In this lecture, i will show you how to create a child route and display the child components. The Angular allows us to nest child routes under another child routes effectively creating a Tree of routes.

In this lecture you will learn:
1. What is a child route?
2. How to define a child route?
3. How to retrieve the value of a child route?

Рекомендации по теме
Комментарии
Автор

It seems like in Angular 14 we don't need to write the <route-outlet> in the parent component! I just added the child route path and it worked!

OmarTabaaRajla
Автор

At, 02:19, you said you will use courses but you used course as the parent route and to me even though i dont have router outlet on my courses my individual course is displayed without error

Chakree
Автор

Excellent bro you actually solved my doubts ! Any course if you have made then please let me know…😀

todayserayt
Автор

how we can use child route data on the partial header for the page name

chirumistry
Автор

sir, we are not using router outlet in the home component na but u r saying we are using it in home component 05:45

Chakree
Автор

Is there difference between child route and parent route?

weixiangng
Автор

I generally like your videos but this video is too complex. I suggest that you recreate it. The mistakes and corrections are confusing. Thank you

esrasahin
join shbcf.ru