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