Is there a way to send a timestamp, such as 1519357500
, to HTML and then convert it into a date format while using interpolation?
I attempted the following approach but unfortunately it did not work:
{{moment($ctrl.myTimestamp).format('MMMM Do YYYY, h:mm:ss a')}}