I'm using Angular5 and I'm not able to triggered controller method from window storage event.
In init the controller init, I declare a window storage event like this:
window.addEventListener('storage', this.messageReceive);
Now when this event is fired we are not able to hit any method of that controller, because we are on some other controller.
Can you please suggest what we need to do?