angular 2 pass value from 1 component to other

questionsCategory: Questionsangular 2 pass value from 1 component to other
sandeep asked 2 years ago

hi,
I have Angular components and first component uses the second one as a directive. They should share the same model object, which is initialised in the first component. How can I pass that model to the second component?