Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on An In-Depth Introduction To Ember.js.
So this:
this.get('model').save();
this.transitionToRoute('users');
Should be:
var controller = this;
this.get('model').save().then(function(model) {
controller.transitionToRoute('users');
//Feedback for the user
So this:
this.get('model').save();
this.transitionToRoute('users');
Should be:
var controller = this;
this.get('model').save().then(function(model) {
}).fail(function(error) { });