I want one variable value from one component to another component. please let me know how can I achieve it in angular 4?
Asked
Active
Viewed 115 times
1
-
Use a shared service. There is nothing else close to a `$rootScope` – Günter Zöchbauer Jun 06 '17 at 13:24
-
How to use shared service? – Jalay Oza Jun 06 '17 at 13:29
-
https://angular.io/docs/ts/latest/cookbook/component-communication.html – jonrsharpe Jun 06 '17 at 13:34