Access key data across entire app in Angular 2 & Ionic 2
<p>What would be the best way to store data that I can access across an entire app in Angular 2 and Ionic 2 - typescript.</p>

<p>For user information my initial thought was to just import the User class in every file its needed, but since all I require from there is a user ID I thought it'd be better to have some kind of config file, maybe the App class - and I could store environment information as well and urls ect.</p>

<p>I actually have no idea what the best practice around this is and couldn't find much on the topic. </p>