From 9fbf1322b363cd71f21f5fd415e5df21a773a8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 20 Oct 2016 19:09:48 +0200 Subject: [PATCH] Remove injection --- .../history/history-lightbox/history-entry.directive.coffee | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/modules/history/history-lightbox/history-entry.directive.coffee b/app/modules/history/history-lightbox/history-entry.directive.coffee index d5d2a867..f6c573ce 100644 --- a/app/modules/history/history-lightbox/history-entry.directive.coffee +++ b/app/modules/history/history-lightbox/history-entry.directive.coffee @@ -18,7 +18,7 @@ ### -HistoryEntryDirective = (lightboxService) -> +HistoryEntryDirective = () -> return { scope: { entry: "<" @@ -26,8 +26,4 @@ HistoryEntryDirective = (lightboxService) -> templateUrl:"history/history-lightbox/history-entry.html", } -HistoryEntryDirective.$inject = [ - "lightboxService" -] - angular.module('taigaHistory').directive("tgHistoryEntry", HistoryEntryDirective)