 
         promise = @.loadInitialData()
 
-        promise.then () =>
+        promise.then  =>
             @appTitle.set("Membership - " + @scope.project.name)
 
         promise.then null, (xhr) =>

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

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

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

        "$q",
        "$tgLocation",
        "$tgNavUrls",
        "$tgAnalytics",
        "$appTitle"
    ]

    constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q,
                  @location, @navUrls, @analytics, @appTitle) ->
        _.bindAll(@)

        @scope.sectionName = "Manage Members" #i18n
