I really struggle with creating global variables in my Angular 2 application.
I already googled and read many posts on StackOverflow on this for the last 3 hours, h
You can use the Window object and access it everwhere. example window.defaultTitle = "my title"; then you can access window.defaultTitle without importing anything.