I have a service called GlobalserviceService and two components FirstComponent available under the path: http://localhost:4200/first/app and SecondComponent available under the path http://localhost:4200/second/app. Each time I type new URL to switch from current component to the other one, my GlobalserviceService gets recreated (constructo is called) so I lose all data stored previously in it. Is there a way to prevent that from happening? The Sample app is stored in git repository https://github.com/rejkid/test-app.git