Hide show facet search directives

* Moved templates into html files.