title: Where to store global data in Angular?
body: <p>I decided to learn Angular 4 and ASP Net Core 2 at once by building blog application. I came to a point where I want to store global data for every component.</p>
  
  <p>For example, I want when the user logs in to pass the logged state to my navbar component and by that I can change the buttons, show the current user name etc.</p>
  
  <p>How from my LoginComponent I can pass data to my NavbarComponent and so on?</p>