title: ionic , angular - global variable inside index.html to be called by other ts pages
body: <p>How it's possible to component (ts file) get access to a variable inside index.html? exemple:</p>
  
  <p>inside: index.html
      <code>
      &lt;javascript&gt;
         var myVar = "test";
      &lt;/javascript&gt;</code></p>
  
  <p>how to get this variable "myVar" to be used inside a component page</p>
  
  <p>to be used for example on the component html like {{myVar}} </p>