From ee2a385cb3b9d91ae8354f07366a6e282c8d1eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 20 Oct 2016 18:56:06 +0200 Subject: [PATCH] Inject a missed dependencie --- .../history-lightbox/history-entry.directive.coffee | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/modules/history/history-lightbox/history-entry.directive.coffee b/app/modules/history/history-lightbox/history-entry.directive.coffee index 42814d29..d5d2a867 100644 --- a/app/modules/history/history-lightbox/history-entry.directive.coffee +++ b/app/modules/history/history-lightbox/history-entry.directive.coffee @@ -17,10 +17,8 @@ # File: comment.directive.coffee ### -module = angular.module('taigaHistory') HistoryEntryDirective = (lightboxService) -> - return { scope: { entry: "<" @@ -28,4 +26,8 @@ HistoryEntryDirective = (lightboxService) -> templateUrl:"history/history-lightbox/history-entry.html", } -module.directive("tgHistoryEntry", HistoryEntryDirective) +HistoryEntryDirective.$inject = [ + "lightboxService" +] + +angular.module('taigaHistory').directive("tgHistoryEntry", HistoryEntryDirective)