How to Share Data Between Components in Angular | Passing Data From One Component to Another

preview_player
Показать описание
In this video, I have covered different methods for sharing data between Angular components. I have covered three cases:
Case 1: Parent to Child: via Input
Case 2: Child to Parent: via Output() and EventEmitter
Case 3: Unrelated Components: via a Service

Check Out My other videos as well:

SEO stuff :
angular 9 component communication ,angular 9 parent-child communication ,angular 9 nested component communication ,angular 9 route parameters ,angular 9 input properties ,angular 9 template reference variable ,angular 9 required route parameters ,angular 9,optional route parameters ,angular 9 query params ,angular 9 sharing data between components ,angular 9 output property ,angular 9 component interaction ,angular ,angular 9 ,angular 9 ,webdev ,app development ,typescript ,javascript ,lesson ,tutorial ,data sharing ,service injection ,
Рекомендации по теме
Комментарии
Автор

guys dont judge the video by view its really excellent tutorial

vikaskumarmishra
Автор

Thank you, don't give it up! Keep going and share new, helpful tutorials!!!

shushanbalayan
Автор

I watched 4-6 videos of this sibling data sharing. None of them work, but your video did it. You got one more subscriber

midnightsun
Автор

Bro Video is so good But why music is there is background it distracting focus...

sarangbhople
Автор

Thank you so much for sharing the knowledge in the simplest form ever!

santoshkamat
Автор

Helped me in implementing a feature in my job at a startup, Thanks a ton!

shubhamrawat
Автор

Thank you so much for your easy, lovely and clear explanations.

MrAsgar
Автор

could you remove background music, this is disturbing to concentrate

sreenivasulubusigari
Автор

Background music is disturbing! Went to look for another video.

anatolytesler
Автор

In using the service, Why when getting the data from input field not working. The data is setting successfully but the data is not getting

kumaravela
Автор

Very helpful video, thanks much! Hope you make more videos in the future!

mauricew
Автор

Awsome explanation🎉
Keep posting videos like this..💣

freeWheelers
Автор

Thank you soo Much For choosing sooo Much Easy way

hamzarauf
Автор

CONCISE! TO THE POINT! GREAT EXPLAINATION!

swapnilkumar
Автор

🙌🙌🙌 bro you are hero for me life saver thank you so much ❤️

tester
Автор

Hi bro, please cover all the topics in angular...Just liked the way of teaching, its simple and efficient..Expecting more contents...Thanks in advance :)

shanmugapriya
Автор

I have a table.

When you press a button of a row in it, a dialog opens (pop-up), in it there is a form
.
I need that when the dialog opens, the information that is in the table is loaded into it.
So I need to export the object of that row to the dialog and when closing the dialog that object is updated in the table
.

I couldn't import the row object to the dialog component from the table component

Could you help me?

Krizz.
Автор

What if there is no child selector? What if we are using routing for accessing child? Then how to share data from child to parent?

kpopisbop
Автор

Your content is very good but Please don't add background music . Its bit annoying.

pritammalwade
Автор

why the background music brother. its totally distracting

nielltalwar