I have a Child component which call and gets a Http get response. Now, I want the same response to get displayed on another child component. Can there be a way to access a variable from one child component to another in Angular?
Asked
Active
Viewed 28 times
0
-
2same response to be used in 2 different child's then created a shared service to get data . – super cool Dec 06 '18 at 09:57
-
2Possible duplicate of [Angular 2 Sibling Component Communication](https://stackoverflow.com/questions/35884451/angular-2-sibling-component-communication) – Chronus Dec 06 '18 at 09:59