function BpmnCollaborationController ($scope, BpmnCollaborationLinkedProcessInstanceResource) {
    // input: processInstance

    $scope.calledProcessInstances = null;
    BpmnCollaborationLinkedProcessInstanceResource.query({id: $scope.processInstance.id}).$then(function(response) {
          $scope.calledProcessInstances = response.data;
    });      
  }
// create controller to load data for HTML
create controller to load data for HTML
create controller to load data for HTML
function BpmnCollaborationController ($scope, BpmnCollaborationLinkedProcessInstanceResource) {
    $scope.calledProcessInstances = null;
    BpmnCollaborationLinkedProcessInstanceResource.query({id: $scope.processInstance.id}).$then(function(response) {
          $scope.calledProcessInstances = response.data;
    });      
  }
function BpmnCollaborationController ( $scope , BpmnCollaborationLinkedProcessInstanceResource ) { $scope . calledProcessInstances = null ; BpmnCollaborationLinkedProcessInstanceResource . query ( { id : $scope . processInstance . id } ) . $then ( function ( response ) { $scope . calledProcessInstances = response . data ; } ) ; }
create controller to load data for HTML
create controller to load data for HTML
// input: processInstance