 ## 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)
 

    return {link:link}

module.directive("tgIssuesFilters", ["$log", "$tgLocation", "$tgResources", "$tgConfirm", "$tgLoading",
                                     "$tgTemplate", "$translate", IssuesFiltersDirective])


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

            $el.find('.save-filters').hide()
            $el.find('.my-filter-name').removeClass("hidden")
            $el.find('.my-filter-name').focus()
            $scope.$apply()

        $el.on "keyup", ".my-filter-name", (event) ->
            event.preventDefault()
