Aggregation is not shown in response with angularjs elasticsearch

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...

Hi, please provide the code/query snippet you're referencing.

here is my code snipet