title: How to format date from the object in angular
body: <pre><code>data = { name: 'Jaun', date: '2019-01-01 13:29:00', load: true }
  </code></pre>
  <p>what I want to do here is to format the date when it console the data it should be like this.</p>
  <pre><code> data = { name: 'Jaun', date: '01-01-2019 01:29 PM', load: true }
  </code></pre>