title: Global variables in Ember
body: <p>What would be the appropriate method for storing a global variable in Ember? For example, I have a User model in Ember, but I'd always like to know which specific instance of that model (including its id, name, email, etc) corresponds to the currently logged-in user.</p>
  
  <p>Should I be storing this within Ember somehow? Or is it better to just attach a JS variable to the <code>window</code> object (e.g. <code>window.currentUserId = 1;</code>) and use that?</p>