title: Is it possible to set variable javascript variables outside from angular2?
body: <p>I am new to angular2 and used a component which is from other library and I want to pass a data from angular2 . My problem is that , I can't set the variable if its not from angular2 to that third party component. </p>
  
  <p>Can anyone enlighten me if its possible?</p>
  
  <p>Ex.</p>
  
  <pre><code>//hmtl outside angular2
  somepage.html
   var somevar; //variable on somepage.html
  
  //component from angular2
  export class SomeComponent implements OnInit{
  
  
  constructor{
   //id like to assign a value to somevar from inside this component
   somevar = "blah blah";
  }
  
  
  }
  </code></pre>
  
  <p>Regards,
  Erwin</p>