how to customize file content using Angular js
<p>I am generating a txt file using angularjs.  I have some problem with data inside the file, this is a small snippet of my code : </p>

<pre><code>var fileContent =  ["text line 1","text line 2","text line 3","text line 4","text line 5","text line 6"];
var blob = new Blob([ fileContent ], { type : 'text/plain' });
$scope.url = (window.URL || window.webkitURL).createObjectURL( blob ); 
</code></pre>

<p>html : </p>

<pre><code>&lt;a download="file.txt" ng-href="{{ url }}"&gt;download&lt;/a&gt;
</code></pre>

<p>the result in the file is :</p>

<p>text line 1,text line 2,text line 3,text line 4,text line 5,text line 6</p>

<p>I want to show the result as follows : <br /><br />
text line 1 <br />
text line 2 <br />
text line 3 <br />
text line 4 <br />
text line 5 <br />
text line 6<br /></p>

<p>I want to show each element in the array on one line and without ","</p>