title: Timestamp conversion in AngularJS
body: <p>I am new to AngularJS and I am trying to publish timestamp (1395227726) as a normal date.</p>
  
  <p>When I use the following template:</p>
  
  <pre><code>{{ item.dt }} : {{ item.dt | date:'medium' }}
  </code></pre>
  
  <p>it shows me</p>
  
  <pre><code>1395226874 : Jan 17, 1970 7:33:46 AM
  </code></pre>
  
  <p>but should should be: <code>Wed, 19 Mar 2014 11:15:26 GMT</code></p>
  
  <p>Could you tell me why it is so and how to publish a date?</p>