title: AngularJs get Timestamp from a human readable date
body: <p>Is there a way in angular JS to get Timestamp from a date obtained by a form?</p>
  
  <pre><code>&lt;label for="start"&gt;From:&lt;/label&gt;
  &lt;input type="date" ng-model="startDate" /&gt;
  </code></pre>
  
  <p>What will I have to write in the directive to transform this data? I didn't find anything about this particular issue,
  Regards</p>