title: How to load CSV file to object in angualrjs?
body: <p>In angularjs I created some <code>service</code> that loads JSON object:</p>
  
  <pre><code>// used to load table from json file instead ajax
  myModule.factory('Items', ['$http', function($http){
      var Url   = "src/utils/some.json";
      var Items = $http.get(Url).then(function(response){
       return response.data;
    });
    return Items;
  }]);
  </code></pre>
  
  <p>And in controller I can call it like:</p>
  
  <pre><code>Items.then(function(data){
    $scope.items = data;
  });
  </code></pre>
  
  <p>As You can see I load <code>some.json</code> file.</p>
  
  <p>What should be flow to do the same with <code>CSV</code> file?</p>
  
  <p>in my case  <code>$scope.items</code> is a list of objects.</p>
  
  <p>Does someone know how to get CSV data by using <code>$http.get</code> or other way?</p>