Question: what is the difference between @input and @output in angular?
Answer: @Input() and @Output() allow Angular to share data between the parent context and child directives or components. An @Input() property is writable while an @Output() property is observable.