Added support for am-format attribute for specifying date format (solves