     return {link: link}
 
 
-module.directive("tgMembershipsRowAdminCheckbox", ["$log", "$tgRepo", "$tgConfirm", "$tgTemplate",
-                                                   MembershipsRowAdminCheckboxDirective])
+module.directive("tgMembershipsRowAdminCheckbox", ["$log", "$tgRepo", "$tgConfirm",
+    "$tgTemplate", "$compile", MembershipsRowAdminCheckboxDirective])
 
 
 #############################################################################

            ctx = {inputId: "is-admin-#{member.id}"}

            html = template(ctx)
            $el.html(html)

        if not $attrs.tgMembershipsRowAdminCheckbox?

## Member IsAdminCheckbox Directive
#############################################################################

MembershipsRowAdminCheckboxDirective = ($log, $repo, $confirm, $template, $compile) ->
    template = $template.get("admin/admin-memberships-row-checkbox.html", true)

    link = ($scope, $el, $attrs) ->
