diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/LoadingController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/LoadingController.js
index 0dfee15801..9aaeb6e20e 100644
--- a/html5/verto/verto_communicator/src/vertoControllers/controllers/LoadingController.js
+++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/LoadingController.js
@@ -6,11 +6,19 @@
.controller('LoadingController', ['$rootScope', '$scope', '$location', '$interval', 'verto',
function($rootScope, $scope, $location, $interval, verto) {
console.log('Loading controller');
- $interval(function() {
- if (verto.data.resCheckEnded) {
- $location.path('/preview');
- }
+ var int_id;
+
+ $scope.stopInterval = function() {
+ $interval.cancel(int_id);
+ };
+
+ int_id = $interval(function() {
+ if (verto.data.resCheckEnded) {
+ $scope.stopInterval();
+ $location.path('/preview');
+ }
}, 1000);
+
}
]);
})();