title: angular - how to display array as multiple lines in a table cell
body: <p>Sorry I am new to angular and trying to learning some basics while making some app myself.</p>
  
  <p>I have the following that that outputs an array in the table cell 
  TEST1,TEST2,TEST3</p>
  
  <p>My goal is to make it to display as</p>
  
  <p>TEST1</p>
  
  <p>TEST2</p>
  
  <p>TEST3</p>
  
  <p>getStatus(element.message) returns an array that is constructed by</p>
  
  <p>array.push(match[0]) in a for loop</p>
  
  <pre><code>    &lt;ng-container matColumnDef="ticketStatus"&gt;
        &lt;th mat-header-cell *matHeaderCellDef class="text-center w-6"&gt;
          Status
        &lt;/th&gt;
        &lt;td mat-cell *matCellDef="let element"&gt;{{ getStatus(element.message) }}&lt;/td&gt;
      &lt;/ng-container&gt;
  </code></pre>