title: Bind static variable (out of scope) to html in Angular / typescript
body: <p>I created a little test typescript/angularjs website.</p>
  
  <p>I have this module with a static variable which I want to bind to the html-document so that I can see the current logged-in user.</p>
  
  <pre><code>module mytest.constants {
  
      export class CurrentSession {
  
          public static CURRENT_USER: string = "Tobi";
  
      }
  }
  </code></pre>
  
  <p>the problem is:
  the current scope is a controller which is separated from my CurrentSession-class.</p>
  
  <p>I would like to do something like</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="label" style="color:green"&gt;
    Logged in as: {{mytest.constants.CurrentSession.CURRENT_USER}}
  &lt;/div&gt;
  </code></pre>
  
  <p>Another way I could do is to add a class-member to the controller and set it in constructor like:</p>
  
  <pre><code>this.CurrentUSer = mytest.constants.CurrentSession.CURRENT_USER
  </code></pre>
  
  <p>but I would prefer to bind the static-variable directly to the html-file.</p>
  
  <p>is this possible?</p>