title: UI-Grid Import data feature adds empty lines
body: <p>I am using UI-Grid and populating it with CSV data using import feature: </p>
  
  <p>All works OK when I import data from first time. Issues occurs when I try importing data from a second file (could be same as the first file or a different file). Instead of contents of the second file, I see blank lines appended in the grid. I would ideally expect contents of second file to overwrite the first file OR get appended. </p>
  
  <p>The problem can be easily replicated in UI-Grid's tutorial demo page here: <a href="http://ui-grid.info/docs/#/tutorial/207_importing_data" rel="nofollow noreferrer">http://ui-grid.info/docs/#/tutorial/207_importing_data</a> </p>
  
  <p>How to resolve this issue ?</p>
  
  <p><a href="https://i.stack.imgur.com/OU5yM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OU5yM.png" alt="enter image description here"></a></p>
  
  <p>[UPDATE]
  I see that the issue occurs when Header field has more than one word</p>
  
  <p>Sample CSV File: -->></p>
  
  <pre><code>Name,Gender Specify,Company Name
  John Smith,male,TestIcon
  Jane Doe,female,FastTrucks
  </code></pre>
  
  <p>I imported this file twice. As "Gender Specify" and "Company Name" both consists of 2 words, they have blank values. Looks like a bug with UI-Grid </p>
  
  <p><a href="https://i.stack.imgur.com/rlll6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rlll6.png" alt="enter image description here"></a></p>