 
         $scope.$watch("filtersSubject", selectSubjectFilter)
 
-        # Angular Watchers
+        ## Angular Watchers
         $scope.$on "filters:loaded", (ctx, filters) ->
             initializeSelectedFilters(filters)
 
-        # Dom Event Handlers
+        ## 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"))
+            showFilters(target.attr("title"), target.data("type"))
 
         $el.on "click", ".filters-inner > h1 > a.title", (event) ->
             event.preventDefault()
-            showCategories($el)
+            showCategories()
 
         $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 = $el.closest(".wrapper").controller()
        selectedFilters = []

        showFilters = (title) ->
            $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)

        showCategories = ->
            $el.find(".filters-cats").show()

                    $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
