title: Angular 6 in HTML if field is undefined show Not applicable
body: <p>I am receiving a return from an API call and I need to populate a field in a table with all the results. The return has a <code>type</code> attribute but out of the four different outcomes, one does not have the attribute <code>type</code>.</p>
  
  <p>So in the html I want the <code>type</code> to be shown within the table using *ngfor i have set up but where the lack of <code>type</code> would be empty due to it not existing i would like to show N/A or not applicable.</p>
  
  <p>How could i implement this? </p>