perf(header): Remove amDateFormat filtering from template

This improves performance of headers rendering by computing date format in javascript instead of using amDateFormat filter in header template.