You can write your logics and showing of data in component B and and you
can use input parameter to pass your data from component A to B or else you
can use service .

On Wed, 21 Oct, 2020, 8:25 PM Neha Yargal, <[email protected]> wrote:

> Hi,
>
> I have used bootstrap modal, it will open on the click of button(which is
> in component A). modal has content from another component(component B). The
> question is how to pass data(id) from component A to component B which is
> inside the modal. please refer to the below image.
> [image: image.png]
> Thanks.
> Regards,
> Neha
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/CACCTogd-aYWriLOTJmYcxBxaxMN1%3DeHuZCzGZmdgNewDs_RXKA%40mail.gmail.com
> <https://groups.google.com/d/msgid/angular/CACCTogd-aYWriLOTJmYcxBxaxMN1%3DeHuZCzGZmdgNewDs_RXKA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CACa0fzwo-giGRXEc6%3D64gRzpueKntOKf%2B8-je3yJsyaMOi-ukA%40mail.gmail.com.

Reply via email to