I am using angularjs Elasticsearch. I write aggregation query but it didn't give me aggregation in response. I used same query in Postman, I got correct result with aggregations. My code is given below
`
`I only get shards and hits in my response..
Is there any solution for this...