Ionic: Generic event for receiving data from server

I'm trying to build application were I have an inbox tray. I would like to increase the counter every time I have an incoming new item. I don't want to interval query for new items. In Android there is something that calls BroadcastReceiver. But I'm not familiar with Android or IOS, only JavaScript.

Is there Cordova plug-in for it?