Cookbook example ported to Ember