title: Using google drive "save to drive" button within Angularjs app
body: <p>I am having trouble using google's <a href="https://developers.google.com/drive/web/savetodrive" rel="nofollow">"Save to drive"</a> button within my angualrjs project. </p>
  
  <p>I can use the sample code just fine but am unsure how to integrate it into my angularjs project. My first attempt was to add:</p>
  
  <pre><code>&lt;script src="https://apis.google.com/js/platform.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>in my <code>index.html</code> (the root template file for my angular project). Then to add the save to drive div to a sub-template: </p>
  
  <pre><code>   &lt;div class="g-savetodrive"
     data-src="data/test.php"
     data-filename="t2.csv"
     data-sitename="My Company Name"&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>Unfortunately I couldn't get the button to render this way. I'm certain I'm just missing out on some basic angular knowledge but can't locate specifically what I need to know.</p>