         "$q",
         "$tgLocation",
         "$tgNavUrls",
+        "$tgAnalytics",
         "$appTitle"
     ]
 
-    constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @location, @navUrls, @appTitle) ->
+    constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q,
+                  @location, @navUrls, @analytics, @appTitle) ->
         _.bindAll(@)
 
         @scope.sectionName = "Manage Members" #i18n

                @location.replace()
            return @q.reject(xhr)

        @scope.$on("membersform:new:success", @.loadMembers)

    loadProject: ->
        return @rs.projects.get(@scope.projectId).then (project) =>

</ul>
"""

MembershipsDirective = ->
    template = _.template(paginatorTemplate)

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