Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

define(['angular', 'app'], function (angular, app) {
'use strict';
app.controller('VideoSubmitController', function ($scope, $controller, videoService, videoSubmitEvaluationService, $state) {
$scope.infoText = 'After reviewing the information you submitted, the provider may need to contact you with follow up questions';

$scope.submitCallback = function () {
var mediaRequest = videoService.getMediaRequest();
var evaluation = videoService.getEvaluation();

mediaRequest.status = "SUBMITTED";
evaluation.status = "COMPLETED";

videoSubmitEvaluationService.reset();
videoSubmitEvaluationService.submit();
};

$scope.previousCallback = function () {
$state.go('main.myvideo.video-upload');
};

$scope.showProgressBar = false;

angular.extend(this, $controller('SubmitController', {$scope: $scope}));
});
});