Question: how to transfer data from one component to another in angular 7?
Answer: Parent to Child: via Input. Child to Parent: via Output() and EventEmitter. Child to Parent: via ViewChild. Unrelated Components: via a Service.