title: Read & Display CSV File
body: <p><strong>Details:</strong>
  Trying to read totals.csv file from directory csvFiles and display a single number (which is all the csv file has in it). Not that it matters but the data is a single value for RMA totals created by MSSQL. For instance if the number in the file is 2866 I'd like to display that number on the screen.</p>
  
  <p><strong>What I've Attempted</strong>
  I've tried to use the example below with out results. I replace the .htm file with totals.csv.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script type="text/javascript"&gt;
      Papa.parse("totals.csv", {
      download: true,
      complete: function (results) {
      $scope.results = results.data;
      $scope.fields = results.meta.fields;
      $scope.$apply();
      }
      });
      &lt;/script&gt;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="sidebar"&gt;
      
      &lt;div id="box1" class="displayBox" ng-app="" &gt;
      &lt;h1&gt;2016 RMA TOTAL&lt;/h1&gt;
      &lt;table&gt;
      &lt;tr&gt;
      &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr ng-repeat='r in results'&gt;
      &lt;td ng-repeat='c in fields'&gt;
      &lt;h3&gt;{{r[c]}}&lt;/h3&gt;
      &lt;/td&gt;
      &lt;/tr&gt;
      &lt;/table&gt;
      &lt;/div&gt;
      
      &lt;div id="box2" class="displayBox"&gt;
      &lt;h1&gt;2017 RMA TOTAL&lt;/h1&gt;
      &lt;h3&gt;846&lt;/h3&gt;
      &lt;/div&gt;
      
      &lt;div id="box3" class="displayBox"&gt;
      &lt;h1&gt;2017 CLOSED RMAs &lt;/h1&gt;
      &lt;h3&gt;565&lt;/h3&gt;
      &lt;/div&gt;
      
      &lt;hr&gt;
      &lt;div class="clockContainer"&gt;
      &lt;div id="date"&gt;&lt;/div&gt;
      &lt;ul&gt;
      &lt;li id="hours"&gt;&lt;/li&gt;
      &lt;li id="point"&gt;:&lt;/li&gt;
      &lt;li id="min"&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;/div&gt;
      &lt;/div&gt;
     </code></pre>
  </div>
  </div>
  </p>