                 else
                     pages.push({classes: "page", num: i, type: "page"})
 
-            $pagEl.html(template(options))
+            html = template(options)
+            html = $compile(html)($scope)
+
+            $pagEl.html(html)
+            $pagEl.show()
 
         $scope.$watch "memberships", (value) ->
             # Do nothing if value is not logical true


    return {link:link}

module.directive("tgMemberships", ["$tgTemplate", MembershipsDirective])


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

## Member Avatar Directive
#############################################################################

MembershipsDirective = ($template, $compile) ->
    template = $template.get("admin/admin-membership-paginator.html", true)

    linkPagination = ($scope, $el, $attrs, $ctrl) ->
