I have following text input filled by model value in timestamp:
Try This code to Get a date Only (dd/mm/yyyy)
html
Angularjs
app.controller('myctrl',function($scope, $http,$window,$filter) { $scope.sent=function(){ $scope.date = $filter("date")($scope.dob, 'dd-MM-yyyy'); alert($scope.date); }})