Updated example, made compile for ember.