title: backbone.js modelbinding with deeply nested objects
body: <p>I'm using the backbone.js plugin "Modelbinding", which is an excellent approach to knockout-style model-to-dom binding. It's pretty great so far.</p>
  
  <p>My question is, my object has some deeply nested branches that I want to bind UI elements to, and modelbinding seems to just use a simple <code>Backbone.Model.get()</code> to pull out the data, so can only take a flat, top-level field name. But my thing needs to be asked for <code>model.get('submodel').get('fieldName')</code>. </p>
  
  <p>I'm representing assets that are leased. In some cases I want to show the leasing company's name, which is in the main Asset models' "lease" field's object's "lessor" field's object's "companyName" field. In javascript that's just Asset.lease.lessor.companyName, plain and simple. But I can't find any way to Backbone that.</p>
  
  <p>I went into backbone.js and hacked the get method to go from <code>this.attributes[attr]</code> to <code>eval('this.attributes.' + attr);</code>, which I thought sure would get me what I was after, but it broke things in ways I didn't really understand.</p>