Angular2 how to handle value of date pipe is null
Checked with Angular 4.2.4
{{(value | date:'dd/MM/yyyy') || 'n/a' }}
{{ (value !== null) ? (value | date: 'dd/MM/yyyy') : "" }}
Checked with Angular 4.2.4
{{(value | date:'dd/MM/yyyy') || 'n/a' }}
{{ (value !== null) ? (value | date: 'dd/MM/yyyy') : "" }}