diff --git a/app/coffee/modules/common/lightboxes.coffee b/app/coffee/modules/common/lightboxes.coffee index 554a89ea..71a8a7fa 100644 --- a/app/coffee/modules/common/lightboxes.coffee +++ b/app/coffee/modules/common/lightboxes.coffee @@ -253,7 +253,7 @@ module.directive("tgLbCreateEditUserstory", [ "$tgResources", "$rootScope", "lightboxService", - "loadingService", + "$tgLoading", CreateEditUserstoryDirective ]) diff --git a/app/coffee/modules/common/loading.coffee b/app/coffee/modules/common/loading.coffee index c6551901..46175764 100644 --- a/app/coffee/modules/common/loading.coffee +++ b/app/coffee/modules/common/loading.coffee @@ -21,7 +21,7 @@ module = angular.module("taigaCommon") -class LoadingService extends taiga.Service +class TgLoadingService extends taiga.Service start: (target) -> target.data('loading-old-content', target.html()) target.addClass('loading') @@ -33,4 +33,4 @@ class LoadingService extends taiga.Service target.html(oldContent) target.removeClass('loading') -module.service("loadingService", LoadingService) +module.service("$tgLoading", TgLoadingService)