Is there a way in angular JS to get Timestamp from a date obtained by a form?
From:
Since you are using input type as date, the string in model should be compatible with Date object in javascript. So you can do
Date
var timestamp = new Date($scope.startDate).getTime()