Angular component interaction using @Input and @Output