title: Global Variables in Dart
body: <p>I try to create a Dart single page application.</p>
  
  <p>I have created a first custom element (<code>custom-application</code>) which contains the whole application.
  It has a container in it which is used to render views. And a side nav which will contain user informations and be updated when the user is log in.</p>
  
  <p>I want to share informations between views. 
  How can I define a global variable in <code>custom-application</code> and be able to share it with the other views ?</p>
  
  <p>For example, when you start the app, you are not authenticated. When you call /login (<code>login-view</code>) you'll have a login form. I want, when you log in the application, the <code>custom-application</code> element stores the user informations loaded by the nested view <code>login-view</code> and update the side nav.</p>
  
  <p>Is it possible to do it ?</p>