Rails API + AngularJS + Websocket-Rails gem
I managed to get this working.
I translated all the coffeescripts into js with the coffescript CLI tool. Then I added those files to my project then called the methods in the controller per the websocket-rails docs.
This guy has done the same translation. A github repo with the translated files. Hope it can help someone:
https://github.com/karimbutt/websocket-rails-for-js-frameworks