Integrate moment.js and its angular bindings.

This commit is contained in:
yackob03 2013-09-27 15:26:30 -04:00
parent 98dc20542c
commit 4354b32288
4 changed files with 10 additions and 3 deletions

View file

@ -28,7 +28,11 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope) {
$('#editModal').modal('hide');
$scope.repo.description = $('#descriptionEdit')[0].value;
$scope.repo.put();
};
};
$scope.parseDate = function(dateString) {
return Date.parse(dateString);
};
var namespace = $routeParams.namespace;
var name = $routeParams.name;