An Angularjs module to manage an elasticsearch