Hi When I click on send message button code working fine with router but when I click there on goback link the code sends error on console and it stops.
You can check in stackbliz of my edit link as : https://stackblitz.com/edit/angular2-communicating-between-components-qjhrpu?file=app%2Ffeedback%2Ffeedback.component.html