Angular 9 hindi tutorial # Params with Router | pass data in params

preview_player
Показать описание
in this angular 9 Hindi video tutorial, we will learn what is routering params and how we can get data from angular routing with a simple example in Hindi video
steps for video
Make 2 component
Make parms route for this component
make a link with parmas in HTML file
get data from URL parmas

Checkout and subscribe our new channel for technical news
Рекомендации по теме
Комментарии
Автор

Checkout and subscribe our new channel for technical news

codestepbystep
Автор

Thank u so much for practically making me understand about Activated route but please elaborate more about it what is the advantage of doing this?

Shreya-ffdxfvs
Автор

Amazing, very simple & clean explanation.
*Another Way / Reactive approach*
id: number;
ngOnInit(): void {
this._activatedRoute.params
.subscribe((params:Params)=>{
this.id = params.id
})
}
Do you know what is query params? any idea? how and when we should use that? Route param was easy, but query params hard lag raha hai bhai. Please make a video on query params if possible.

iamprosenjit.sardar
Автор

Bro, nice video but you have uploaded same video twice in this tutorial

chandrashekarbk
Автор

Kis playlist ka video h bro please batawo

AvinashKumar-wwxz
Автор

how to solve this error { 'router-outlet' is not a known element } when put router-outlet in component .

riteshgoswami
Автор

Good work but dont copy stuff from other channels..subscribed

chbasitgill