Example of Server Sent Event with Rails 4 and AngularJS