 ## Issues Filters Directive
 #############################################################################
 
-IssuesFiltersDirective = ($log, $location, $rs, $confirm, $loading, $template, $translate) ->
+IssuesFiltersDirective = ($log, $location, $rs, $confirm, $loading, $template, $translate, $compile) ->
     template = $template.get("issue/issues-filters.html", true)
     templateSelected = $template.get("issue/issues-filters-selected.html", true)
 

                    f.style = "border-left: 3px solid #{f.color}"

            html = template({filters:filters})
            $el.find(".filter-list").html(html)

        toggleFilterSelection = (type, id) ->

                    f.style = "border-left: 3px solid #{f.color}"

            html = templateSelected({filters:selectedFilters})
            html = $compile(html)($scope)
            $el.find(".filters-applied").html(html)

            if selectedFilters.length > 0
