I am trying to convert my AngularJS application to Angular 2 Universal application (because of server-side rendering).
https://github.com/angular/universal-starter
Now I need to store global variables which could be achieved easily in normal Angular 2 applications(per below links).
One thing you will have to do to achieve this in normal angular 2 App is to pass your global service to bootstrap.
I don't think you can do that in Angular 2 universal app unless I am missing something.
I want to store user data and use it across application. Just like Session data in asp.net. And plus this needs to done without making parent-child components
How can I store global variables in Angular 2 Universal App?
Thanks Fahad Mullaji