Shared service constructed again in ModalComponent


#1

I have shared service backend.ts, which should be constructed only once in app.component.ts.

I use this service in various pages, imported and in construct parameters and works properly. It is being constructed only once.

But once I use ModalController which should use this shared service, new instance is constructed and shared data are not available in ModalController.