6 function RegistrationCtrl($scope, $log, Registration) {
9 $scope.update = function(user) {
10 $scope.master = angular.copy(user);
11 $log.info("saved", user, user.$save());
14 $scope.reset = function() {
15 //$scope.user = angular.copy($scope.master);
16 $scope.user = new Registration();
22 //RegistrationCtrl.$inject = [ '$scope', '$log' ];