I\'m having some issues trying to make a singleton service to provide state across my application: in some cases, when a page is created, the service gets a new instance, bu