Official Ember.js guide, with a personal tweak.