Peer.js wrapper for Angular.js