[Backport] Inject a missed dependencie
parent
4d793cf10f
commit
784030f3d1
|
@ -17,10 +17,8 @@
|
||||||
# File: comment.directive.coffee
|
# File: comment.directive.coffee
|
||||||
###
|
###
|
||||||
|
|
||||||
module = angular.module('taigaHistory')
|
|
||||||
|
|
||||||
HistoryEntryDirective = (lightboxService) ->
|
HistoryEntryDirective = (lightboxService) ->
|
||||||
|
|
||||||
return {
|
return {
|
||||||
scope: {
|
scope: {
|
||||||
entry: "<"
|
entry: "<"
|
||||||
|
@ -28,4 +26,8 @@ HistoryEntryDirective = (lightboxService) ->
|
||||||
templateUrl:"history/history-lightbox/history-entry.html",
|
templateUrl:"history/history-lightbox/history-entry.html",
|
||||||
}
|
}
|
||||||
|
|
||||||
module.directive("tgHistoryEntry", HistoryEntryDirective)
|
HistoryEntryDirective.$inject = [
|
||||||
|
"lightboxService"
|
||||||
|
]
|
||||||
|
|
||||||
|
angular.module('taigaHistory').directive("tgHistoryEntry", HistoryEntryDirective)
|
||||||
|
|
Loading…
Reference in New Issue