code: function performRemove() {
          ClientModelDocService.remove(vm.clientModelDoc)
            .then(deleteClientModelDocSuccess)
            .catch(deleteClientModelDocCatch);
  
          function deleteClientModelDocSuccess() {
            Toast.show({type: 'success', text: 'ClientModelDoc ' + vm.displayName + ' deleted'});
            vm.showList();
          }
  
          function deleteClientModelDocCatch(err) {
            Toast.show({
              type: 'warn',
              text: 'Error while deleting clientModelDoc ' + vm.displayName,
              link: {state: $state.$current, params: $stateParams}
            });
  
            if (form && err) {
              form.setResponseErrors(err, vm.errors);
            }
          }
        }
docs: Removes a clientModelDoc by using the ClientModelDocService remove method
  @api private