         $scope.$on "filters:loaded", (ctx, filters) ->
             initializeSelectedFilters(filters)
 
+        $scope.$on "filters:issueupdate", (ctx, filters) ->
+            html = template({filters:filters.statuses})
+            $el.find(".filter-list").html(html)
+
         selectQFilter = debounceLeading 100, (value) ->
             return if value is undefined
 

## Issue status Directive (popover for change status)
#############################################################################

IssueStatusInlineEditionDirective = ($repo, $template) ->
    ###
    Print the status of an Issue and a popover to change it.
    - tg-issue-status-inline-edition: The issue


    return {link: link}

module.directive("tgIssueStatusInlineEdition", ["$tgRepo", "$tgTemplate", "$rootScope", IssueStatusInlineEditionDirective])


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