Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate Angular.js with a realtime messaging service like Pusher or PubNub?

Is it possible to define Pusher or PubNub as an Angular Service? Does someone have code examples of such an integration?

like image 358
Franck Avatar asked Sep 21 '12 10:09

Franck


2 Answers

Someone already made it :-): http://jsfiddle.net/bv5Kq/13/

Be sure to check out the wiki for examples: https://github.com/angular/angular.js/wiki/JsFiddle-Examples

like image 137
Andrew Joslin Avatar answered Nov 15 '22 05:11

Andrew Joslin


There is AngularFire, for working with Firebase - http://angularfire.com/

like image 36
manojlds Avatar answered Nov 15 '22 05:11

manojlds