45. Making the cross component communication using the services by event emitter in the angular.

preview_player
Показать описание
Hi Friends
In this video, we will see how to use the services for the cross-component communication in the angular.

If you like my video, please subscribe to my channel.

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

i had issues understanding this concept for two weeks but now i understand it clearly like never before..Keep up the good work leela

samuelvalentine
Автор

I was looking for this explanation for long time, thanks.

indulekhasingh
Автор

Why we are subscribing to the event emitter in ngOnInit(), as ngOnInit() already initialized once, and how it is subscribing to the data. Please explain.

swagentry
Автор

sir plzz explain me one thing.. i have created service in app module and i have two more module that is product module and cart module ok .. when i use that sevice which i have created in app module in product module then it work fine but when i use that service in cart module it value become undefines why..plzz explain how to use same service in different module..

codemines
Автор

How can we change the data of one component which is initially something else from another component using service evennEmitter

rishabraj
Автор

Why do you have to emit the event in Service? Instead can't we just assign the status value to a variable in service and in add-user call the service which will return that value?

santhidamarla