Filters angularjs for converts a date to text