Converted the sample app to Ember JS