This formats a date into a date string according to the string format that is desired.
Usage:
{{moment-format date 'DD-MM-YYYY'}} <!--returns "01-01-1970"-->
Parameters:
- date - a Date object (either in a model with fw-date attr, or selected by bs-datetimepicker)
- format - This tells the helper how the date should be returned as a string. For codes for the string format, click here for Moment.js string format.