title: How to AngularJS Date from json
body: <p>i'm a newbie in angularjs i'm trying to bind a date property to a input(text) but i don't know how to format the date.</p>
  
  <p>my json object controler:</p>
  
  <pre><code>$scope.datasource = {"prop1":"string data", "myDateProp":"\/Date(1325376000000)\/"}
  </code></pre>
  
  <p>my view:</p>
  
  <pre><code>&lt;input type="text" ng-model="datasource.myDateProp" /&gt;
  </code></pre>
  
  <p>as result, i get the string "/Date(1325376000000)/" on my textbox.</p>
  
  <p>how can i format this date?</p>