Code for demo shown during the Building Visualforce Pages with AngularJS and JavaScript Remote Objects session at Dreamforce 14.