Integrating cometd dojo app with angular js, and using AMQConsumer with cometd bayeux pusher