title: convert string to Time format in typescript
body: <p>I have to convert my server data in string format as <code>13:47</code> to <code>01:47PM</code> but am trying with <code>{{time | date:"hh:MM"}}</code> and <code>{{task.time | date: 'shortTime'}}</code> but it showing an datepipe error and arugument error</p>
  
  <p><em>Runtime Error</em></p>
  
  <blockquote>
    <p>InvalidPipeArgument: '13:17' for pipe 'DatePipe'</p>
  </blockquote>