             ctx = {inputId: "is-admin-#{member.id}"}
 
             html = template(ctx)
+            html = $compile(html)($scope)
+
             $el.html(html)
 
         if not $attrs.tgMembershipsRowAdminCheckbox?

    return {link: link}


module.directive("tgMembershipsRowAdminCheckbox", ["$log", "$tgRepo", "$tgConfirm", "$tgTemplate",
                                                   MembershipsRowAdminCheckboxDirective])


#############################################################################

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

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

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