This is the tutorial of angular 2. Where I have discussed how @Input @Output and EventEmitter works. The purpose of above mentioned keyword is : Passing the value from child to parent component and firing the event from parent component and handling the event in child component