ng io how to use date pipe inside of a service code example
Example: applying datepipe on interepolating date in html from typescipt
tooltip="{{recentDate | date: 'medium'}}" // Using interpolation
tooltip="{{recentDate | date: 'medium'}}" // Using interpolation