Angular 2 Tutorial - 38 - Relative Navigation

preview_player
Показать описание

📱 Follow Codevolution

Angular 2 | Angular 2 Routing | Angular 2 Tutorial | Angular 2 Tutorial for Beginners | Angular 2 Navigation | Angular 2 Relative Navigation
Рекомендации по теме
Комментарии
Автор

Thanks for videos. This is an awesome tutorial for beginners. I am trying to implement 'ChildRoutes' structure. Will you upload a video about that?

mehmetaliebleme
Автор

Very helpful video.
Is optional parameter necessary to move one step upward??
this.router.navigate([' ../ ' ], { relativeTo: this.route} ); this won't work??

ajitdarnal
Автор

Hi, i enjoyed all your videos. But how do you navigate to prev and next using relative path

deeprem
Автор

Hi, when changing :

//{path: 'departments', component: DepartmentListComponent},
to {path: 'departmentsList', component: DepartmentListComponent},
//{path: 'departments/:id', component: DepartmentDetailComponent},
to {path: 'departmentsList/:id', component: DepartmentDetailComponent},

we have a problem when clicking the link in app.component.ts :

<a routerLink="/departments"
we still get Page not found.

even we changed :

onSelect(department) in department-list.component.ts
and
gotoDepartments() in

Thanks, your help is appreciated.

majidlotfi
Автор

Nice tutorial thanx, but am i want to dispaly images on the home page and the folder structure is like app/home and my images are in assets/images and i have tried ../assets, ./assets, ../../assets, nothing is working for, please please help how can i get it work. am using xampp as a localhost

alanlemani
Автор

how to display other details using Id?

arunw
Автор

this video is incomplete..
What is isSelected() method in department-list.?
what is gotoDepartment( ) method in departmentDetail?
This thing was not explained in any other previous video.

If anyone explained me in comments would be much appreciated ..

jeo