diff --git a/res/app/components/stf/common-ui/modals/version-update/version-update-service.js b/res/app/components/stf/common-ui/modals/version-update/version-update-service.js index a234af16..e09c4bbb 100644 --- a/res/app/components/stf/common-ui/modals/version-update/version-update-service.js +++ b/res/app/components/stf/common-ui/modals/version-update/version-update-service.js @@ -1,7 +1,7 @@ -module.exports = function FatalMessageServiceFactory($modal, $location, socket) { +module.exports = function FatalMessageServiceFactory($modal, $location) { var service = {} - var ModalInstanceCtrl = function ($scope, $modalInstance, device) { + var ModalInstanceCtrl = function ($scope, $modalInstance) { $scope.ok = function () { $modalInstance.close(true) $location.path('/') diff --git a/res/app/components/stf/socket/index.js b/res/app/components/stf/socket/index.js index b0af3a90..55f340bf 100644 --- a/res/app/components/stf/socket/index.js +++ b/res/app/components/stf/socket/index.js @@ -1,4 +1,3 @@ module.exports = angular.module('stf/socket', [ - require('stf/common-ui/modals/version-update').name ]) .factory('socket', require('./socket-service'))