title: BackboneJS Iterate complex model
body: <p>I have a BackboneJS composite model which has 2 attributes;</p>
  
  <pre><code>"myAttr1": new MyObj1(model.myAttr1),
  "myCollectionAttr": new MyObj2(model.myCollectionAttr)
  </code></pre>
  
  <p>MyObj2 looks like</p>
  
  <pre><code>"attr1" : new Base1( ),
  "attr2" : new Base2( )
  </code></pre>
  
  <p>Now I want to set an inner level attribute (i.e. an attribute of Base1)...So I iterate and say;</p>
  
  <pre><code>self.model.get("myCollectionAttr").each(function(model) {
      model.get("attr1").set('basemodel1attr','Y');
  });
  </code></pre>
  
  <p>So Base1 and Base2 model has attributes like basemodel1attr and basemodel2attr</p>
  
  <p>While model.get("attr1") returns me the list of attributes. I cannot use .set() on it.</p>
  
  <p>What is the correct way of doing set on my inner attribute ?</p>