elasticsearch facets gui in angularjs