0

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

Anurag Srivastava
  • 14,077
  • 4
  • 33
  • 43
DeLTa
  • 1
  • 1
    you might want to have a read on [how to ask a good question](https://stackoverflow.com/help/how-to-ask). tl;dr; Show what you have already tried and what is preventing you from progressing – The Fabio Apr 26 '22 at 11:08
  • https://stackoverflow.com/questions/36174273/using-on-and-broadcast-with-angular-2 – vaira Apr 26 '22 at 11:12

0 Answers0