After deploying war can't see data inside table (in the camunda)

I have output variable called restResponse(it’s an array of json objects) which i got from previous scriptTask processors after that i want to use it’s data inside my embedded html form for this reason i use code like this :slight_smile:

	var restResponse=$scope.restResponse[];	

	$scope.details = function(){
            var newDataList=[];
            $scope.selectedAll = false;
            angular.forEach($scope.restResponse, function(selected){
            $scope.dataDocument = newDataList;
 $scope.checkAll = function () {
	            if (!$scope.selectedAll) {
	                $scope.selectedAll = true;
	            } else {
	                $scope.selectedAll = false;
	            angular.forEach($scope.restResponse, function (restResponse) {
	                restResponse.selected = $scope.selectedAll;
    camForm.on('store', function() {
        camForm.variableManager.variableValue('restResponse', $scope.restResponse);
 camForm.on('form-loaded', function() {

    // variables-fetched is not working with "saved" forms, so we need to use variables-restored, which gets called after variables-fetched
    camForm.on('variables-restored', function() {
        $scope.restResponse = camForm.variableManager.variableValue('restResponse');

 <div class="contrinaer">
 <div class="row" >
            <div class="col-md-12">
                <table class="table table-striped table-bordered">
                            <th><input type="checkbox" ng-model="selectedAll" ng-click="checkAll()" /></th>
                        <tr ng-repeat="doc in restResponse">
                            <td><input type="checkbox" ng-model="doc.selected"/></td>
                            <td><input type="number" ng-model=""/></td>
                            <td><input type="text" ng-model="doc.organizationNameGE"/></td>
                            <td><input type="button" class="btn btn-success pull-right" ng-click="details()" value="Details"></td>

i can’t get any exception but my table is empty see this picture :slight_smile:

what should i change to make my code work?