[Solved] Passing data to another component [duplicate]
You can do this by adding a inject a service for both component then put the data in the service so both can find it. Also you can use the @input and the @output directive , but i prefer the service ( In this service both share the varible is ready ) : import {EventEmitter, … Read more