You can use date filter for formatting the dates. Here is the demo:
<body ng-app="MyApp" ng-controller="MyController">
<div>{{date}}</div>
</body>
script:
angular.module('MyApp',[])
.controller('MyController',function($scope,$filter){
$scope.date = $filter('date')(Date.now(),'yyyy-MM-dd');
});