title: Break Array Values Into New Line in Angular
body: <p>How can i break this array of errors into new line? I tried using "\n" and it doesn't break into lines in Angular?</p>
  
  <blockquote>
    <p>JSON</p>
  </blockquote>
  
  <pre><code>{
    "headers": {
      "normalizedNames": {},
      "lazyUpdate": null
    },
    "status": 404,
    "statusText": "Not Found",
    "url": "http://sample.com",
    "ok": false,
    "name": "HttpErrorResponse",
    "message": "Http failure response for http://sample.com: 404 Not Found",
    "error": {
      "error": [
        "Error1",
        "Error2",
        "Error3"
      ]
    }
  }
  </code></pre>
  
  <blockquote>
    <p>error.ts</p>
  </blockquote>
  
  <pre><code>error =&gt; {
               alert("ERROR" + "\n" +  error.error.error + "\n");    
               console.log(error.error.error);
            });
  </code></pre>