function OnTimeInFullListFunction($scope, OnTimeInFull) {

    $scope.distributedOrders = OnTimeInFull;





}

OnTimeInFullListFunction.resolve = {

    OnTimeInFull: function ($q, $route, $timeout, GetVaccineOnTimeInFullList) {
        var deferred = $q.defer();
        $timeout(function () {
            if (isUndefined($route.current.params.id) && isUndefined($route.current.params.facilityId)
                && isUndefined($route.current.params.periodId)
            ) {
                return null;
            } else {

                var queryParameters = {
                    facilityId: parseInt($route.current.params.facilityId, 10),
                    orderId: parseInt($route.current.params.id, 10),
                    period: parseInt($route.current.params.periodId, 10)
                };

                GetVaccineOnTimeInFullList.get(queryParameters,
                    function (data) {
                        console.log(data);
                        if (!isUndefined(data.OnTimeInFull) || data.OnTimeInFull.length > 0)
                            deferred.resolve(data.OnTimeInFull);
                    });
            }


        }, 100);

        return deferred.promise;
    }

};

@@ -396,71 +396,8 @@
 Id)%0A
-                && isUndefined($route.current.params.periodId)%0A
     

Fix jsHint Error