fixes for elasticsearch.angular.simple