title: How to format the date string according to the country in angular?
body: <p>I had the following code where i get the data from JSON response. I want to change the date string format w.r.t to country locale. I'm using angular-translate for translations and added all the strings in respective locale json file. For example i want to add the date format (dd/mm/year) for es_ES(spanish) locale  and (mm/dd/year) for en_US. Can i add the date format by any chance in the Json file or how can i add a filter to format in markup itself? Is it possible at all?</p>
  
  <pre><code>//Sample Html markup
  &lt;tr ng-repeat="data in data.list"&gt;
  &lt;td&gt;{{data.originalDate}}&lt;/td&gt;
  &lt;td&gt;{{data.expiryDate}}&lt;/td&gt;
  &lt;/tr&gt;          
  
  //sampleJsonResponse
  {
  "data": [
  "{originalDate:\"09/30/2017\",expiryDate:\"10/30/2018\"}"
   ]
  }
  </code></pre>
  
  <p>Thanks</p>