diff --git a/app/coffee/modules/team/main.coffee b/app/coffee/modules/team/main.coffee index 6cfe21b7..df13508c 100644 --- a/app/coffee/modules/team/main.coffee +++ b/app/coffee/modules/team/main.coffee @@ -242,7 +242,7 @@ LeaveProjectDirective = ($repo, $confirm, $location, $rs, $navurls, $translate) link: link } -module.directive("tgLeaveProject", ["$tgRepo", "$tgConfirm", "$tgLocation", "$tgResources", "$tgNavUrls", +module.directive("tgLeaveProject", ["$tgRepo", "$tgConfirm", "$tgLocation", "$tgResources", "$tgNavUrls", "$translate", LeaveProjectDirective])