$scope.gpService.submitJob(params, gpJobComplete,gpJobStatus, función (error){}).then(función (resultado){});