Inject a missed dependencie

stable
David Barragán Merino 2016-10-20 18:56:06 +02:00
parent 206b0dd921
commit ee2a385cb3
1 changed files with 5 additions and 3 deletions

View File

@ -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)