How to pass data between any component without Observable and subscribe()


#1

Hy anyone!! Please I need to learn how to pass data between any component without use Observable and subscribe(...).
I mean, using a singleton instance to get sync data as Angular 2 does.
https://angular.io/guide/singleton-services

Reference: