Is there no equivalent to $scope.emit()
or $scope.broadcast()
in Angular?
I know the EventEmitter
functionality, but as far as I understand that will just emit an event to the parent HTML element.
What if I need to communicate between fx. siblings or between a component in the root of the DOM and an element nested several levels deep?