title: How can I make my formatting conditional with pipes in angular html
body: <p>How can I do some conditional formatting. The code below formats it to two decimal places. However sometimes the row[column.props] comes out as not of type number. Sometimes it has a value of text like 'n/a' how can I do conditional formatting in this case? I don't want to format it as number if it is not a number.</p>
  <pre><code>&lt;td *ngFor = &quot;let column of headers&quot;&gt;
    {{row[column.prop] | number: '1.1-2'}}
  &lt;/td&gt;
  </code></pre>