title: Are global variables accessible in Angular 2 html template directly?
body: <p>So I put in app.settings like</p>
  
  <pre><code>public static get DateFormat(): string { return 'MM/DD/YYYY';}
  </code></pre>
  
  <p>and then in one of my html template of a component I want to do something like this.</p>
  
  <pre><code>&lt;input [(ngModel)]="Holiday" [date-format]="AppSettings.DateFormat"/&gt;
  </code></pre>
  
  <p>In component I have </p>
  
  <pre><code>import { AppSettings } from '../../../app.settings';
  </code></pre>
  
  <p>Right now it's not accessible like this in html template. Is there any way?</p>