What is @Input and @Output decorator in Angular
They are a mechanism to send/receive data from one component to another.@Input is used to receive data in
@Output is used to send data out. Output sends data out by exposing event producers, usually EventEmitter objects.