javascript – Ember.js – 将#each循环中的按钮动作绑定到自己的模型

我似乎无法在#each模板循环中生成一个按钮,将其单击操作绑定到其关联的模型.这是问题的快速演示……

Ember.js应用程序设置:

window.Contacts = Ember.Application.create();

Contacts.Person = Ember.Object.extend({
    first: '',last: '',save: function() {
        // send updated information to server.
    }
});

Contacts.contactsList = Ember.ArrayController.create({
    content:[],init: function() {
        this.pushObject( Contacts.Person.create({
            first:'Tom',last:'Riddle'
        }));
    }
});

模板: