Simple starting point for Ember.js fiddles
HTML
<script src="https://github.com/downloads/emberjs/ember.js/ember-0.9.5.js"></script>
JavaScript
(function(){
var app = Em.Application.create({});
var wife = {householdIncome: 60000}
var husband = {wife: wife}
Em.bind(husband, 'householdIncome', 'wife.householdIncome');
var husbandView = Em.View.create({
template: Em.Handlebars.compile('<b>{{householdIncome}}</b>'),
templateContext: husband
});
husbandView.append();
setTimeout(function () {
Em.set(wife, 'householdIncome', 100000);
}, 1000);
setTimeout(function () {
var newWife = {householdIncome: 120000};
Em.set(husband, 'wife', newWife);
}, 2000);
}());