This commit is contained in:
Szekeres Bálint
2018-01-08 08:53:08 +01:00
parent 16a27c75dd
commit da916892df
4 changed files with 30 additions and 1 deletions

View File

@@ -46,6 +46,7 @@
/////////////////////
// SCOPE VARIABLES //
/////////////////////
$scope.location = $location;
$scope.data = angular.copy(data);
$scope.dataInit = false;
@@ -107,6 +108,10 @@
}
};
$scope.reset = function() {
$scope.data = angular.copy(data);
};
//////////////////