     link: (scope, element, attribute) ->
 
         globalFilterService.registerScope(scope)
-        
+
         scope.dataObj =
             showDirective: false
 

                    </button>
                    <div uib-dropdown-menu class="korp-uib-dropdown-menu">
                      <ul>
                        <li ng-repeat="value in possibleValues" ng-class="selected" class="attribute" 
                            ng-click="toggleSelected(value[0], $event)"
                            ng-if="isSelectedList(value[0])">
                          <span ng-if="isSelected(value[0])">✔</span>

                  <div style="display: inline-block">
                      <span ng-repeat="filterKey in dataObj.selectedFilters">
                          <global-filter lang="lang" attr="filterKey"
                                         attr-value="dataObj.filterValues[filterKey].value",
                                         attr-label="getFilterLabel(filterKey)",
                                         possible-values="dataObj.filterValues[filterKey].possibleValues"
                                         translation-key="getTranslationKey(filterKey)"
                                         closeable="isOptionalFilter(filterKey)"/>
                          <span ng-if="getAvailableFilters().length !== 0 || !$last">{{"and" | loc:lang}}</span>
                       </span>

                       <span uib-dropdown auto-close="outsideClick" ng-if="getAvailableFilters().length !== 0">
