title: backbone.js model attribute undefined
body: <p>I am fetching a collection of model objects from a rest url in backbone. I then iterate over the collection and use underscore template helper method to with data from model. But I am getting undefined defaultImg when call the attribute.</p>
  
  <p>View:</p>
  
  <pre><code> define (['jquery','underscore','backbone'],function($,_,Backbone){
  PopVideoView = Backbone.View.extend ({
      tagName:"li",
      //template: _.template($('#popView').html()),
      template: _.template("&lt;li&gt;&lt;img src='&lt;%= defaultImg %&gt;'/&gt;&lt;/li&gt;"),
      render: function ()
      {
          console.log(this.model.toJSON());
          this.template(this.model.toJSON());
          this.$el.html(this.template);
          return this;
      }
  });
  return PopVideoView;
  });
  </code></pre>
  
  <p>another view:</p>
  
  <pre><code>define(['jquery','underscore','backbone','collections/PopVideos','views/PopVideo'],function($,_,Backbone){
  PopVideosView = Backbone.View.extend ({
      el:"#pop",
      render: function ()
      {
          this.collection.each (function(video)
          {
              popVideoView = new PopVideoView({model:video});
              this.$el.append (popVideoView.render().el).hide().fadeIn(300);
          },this);
          return this;
      },
  });
  return PopVideosView;
  });
  </code></pre>
  
  <p>This is what I am getting from Chrome developer console:</p>
  
  <pre><code>Object {video_id: "1G4isv_Fylg", video_name: "Coldplay - Paradise ", defaultImg: "http://i.ytimg.com/vi/1G4isv_Fylg/mqdefault.jpg", genre: "pop", date: "Feb 16, 2013 1:01:33 PM"…}
  Uncaught ReferenceError: defaultImg is not defined
  </code></pre>
  
  <p>what I am doing wrong?</p>
  
  <p>This is the model &amp; collection:</p>
  
  <pre><code> define (['jquery','underscore','backbone'],function($,_,Backbone){
  Video = Backbone.Model.extend ({
      urlRoot:"/video",
  });
  return Video;
  });//end define
  
  define(['backbone','models/Video'],function(Backbone,Video) {
  PopVideosCollection = Backbone.Collection.extend ({
      model:Video,
      url:"/pop/3/1"
  });
  return PopVideosCollection;
  });
  </code></pre>