My attempt to integrate the Google Realtime API with Angular in a simple way. Edits in the top box are ng-changes to a variable on the Angular $scope that are then propagated to a Realtime collaborative string. Edits in the bottom box are changes to the Realtime object picked up by eventListeners that are then propagated to the Angular $scope. The different windows are for two different collaborators on the same document, demonstrating that changes propagate as expected.
Note this is a hacky way to do it. A full description of the code will be published on http://metabolic-empathy.blogspot.com
Lyrics from Steering A Great Big Trolley by Julia Donaldson.