title: Tableau Angular2 Integration
body: <p>Has anyone tried building an Angular2 application with tableau visualizations integrated in it using the <a href="https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api.htm" rel="noreferrer">Tableau JavaScript API</a>?</p>
  
  <p>According to the documentation, you're supposed to include the following script in your file which will create a <code>tableau</code> global variable: <br><br>
  <code>&lt;script src="https://YOUR-SERVER/javascripts/api/tableau-2.js"&gt;&lt;/script&gt;</code>
  <br><br></p>
  
  <p>I'm not sure how to access this global variable within an Angular2 class.</p>