Removed circular dependency.

This commit is contained in:
Gunther Brunner
2014-05-28 16:01:27 +09:00
parent 6b67d66a93
commit 5e6831ba65
2 changed files with 2 additions and 3 deletions

View File

@@ -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('/')