Working Sync demo with AngularJS front end.