I\'m simply try to reset values like this :
$scope.initial = [ { data1: 10, data2: 20 } ]; $scope.datas= $scope.initial
Try changing the reset function to use angular.copy
reset
$scope.reset = function () { $scope.datas = angular.copy($scope.initial); };