My question is as it says in the title:
Is it possible to use a singleton service and share data between two components opened in different tab in angular 5?
I'm using a singleton service, where the provider for the service is injected at app module layer.
However, when I open a component in another tab, the data set in the service is no longer available in the opened component?
Is there anyway I could share data between components opened in different tab in angular 2?
I know this can be achieved via local storage
and it's storage
event in html5/javascript, I'm looking for something specific in angular 5?
I did go thru the "duplicate" question as marked, and I did mention about local storage and storage event
, however, I wanted if there is any "angular" way of doing things.
Thank you.