         $ctrl = $el.closest(".wrapper").controller()
         selectedFilters = []
 
-        showFilters = (title) ->
+        showFilters = (title, type) ->
             $el.find(".filters-cats").hide()
             $el.find(".filter-list").show()
             $el.find("h2 a.subfilter").removeClass("hidden")
             $el.find("h2 a.subfilter span.title").html(title)
+            $el.find("h2 a.subfilter span.title").prop("data-type", type)
 
         showCategories = ->
             $el.find(".filters-cats").show()


        $scope.$watch("filtersSubject", selectSubjectFilter)

        # Angular Watchers
        $scope.$on "filters:loaded", (ctx, filters) ->
            initializeSelectedFilters(filters)

        # Dom Event Handlers
        $el.on "click", ".filters-cats > ul > li > a", (event) ->
            event.preventDefault()
            target = angular.element(event.currentTarget)
            tags = $scope.filters[target.data("type")]

            renderFilters(_.reject(tags, "selected"))
            showFilters(target.attr("title"))

        $el.on "click", ".filters-inner > h1 > a.title", (event) ->
            event.preventDefault()
            showCategories($el)

        $el.on "click", ".filters-applied a", (event) ->
            event.preventDefault()
            target = angular.element(event.currentTarget)

            id = target.data("id")
            type = target.data("type")
            toggleFilterSelection(type, id)

                    $ctrl.filterVisibleUserstories()

            renderSelectedFilters(selectedFilters)

            currentFiltersType = $el.find("h2 a.subfilter span.title").prop('data-type')
            if type == currentFiltersType
                renderFilters(_.reject(filters, "selected"))

        selectSubjectFilter = debounce 400, (value) ->
            return if value is undefined
