$scope.$on replacement in Angular 2+

242 Views Asked by At

in my component which I am migrating Angular js to angular 2+, I have $scope.$on which is getting data broadcasted from controller which is in Angular js. is there any replacement for $scope.$on(){} which can receive data from controller

0

There are 0 best solutions below