title: Real time with AngularJs & Yii2
body: <p>I'm developing a Yii2 REST API, with AngularJS for the frontend to consume.</p>
  
  <p>I need a way to implement real time approach, e.g. for a chat, or to make some real time notifications.</p>
  
  <p>Is this possible, how to achieve? I been reading about Ratchet, Socket.io and some other things, but I couldn't figure out how to make them fit together for REST or if this is the way to go.</p>
  
  <p>Any advice would be appreciate.</p>