        :state "state"
        :full-size "expanded"
        :has-items "setItems(key, type, ids)"
-       :has "hasSomething(what, data)"
+       :has "hasSomething(what, data, key)"
        :wants "wantsSomething(what, data)"
        :next-step "nextStep(data)"
        :on-toggle "expanded = !expanded"} ]]


     (search-form)

     ]]])

(def search-input
  [:div.input-group

     [:h4 
      {:ng-click "closed = !closed"}
      [:i.fa {:ng-class "{'fa-caret-right': closed, 'fa-caret-down': !closed}"}]
      [:ng-pluralize
       {:count "countFacets(facetSet)"
        :when "{'one': 'One {{name}}', 'other': '{} {{name}}s'}"}]]
     [:div.slide-up {:ng-class "{closed: closed}"}
      [:button.col-xs-12.facet.btn.btn-default.clearfix
       {:blur-on "click"
