Rails + Angular + PubNub messaging