title: underscore template is not working in backbone
body: <p>In my <code>view.js</code> I am calling the wine-list-tpl (template), as below you can see this. But nothing is showing to the index page. Please help.  </p>
  
  <p><strong>IN index.html</strong></p>
  
  <pre><code>&lt;script type="text/template" id="wine-list-tpl"&gt;
  Hello world 
  &lt;%= name %&gt;
  &lt;/script&gt;
  .......
  &lt;div class="wine-list"&gt;&lt;/div&gt;
  </code></pre>
  
  <p><strong>IN view.js</strong></p>
  
  <pre><code>var WineLists = Backbone.View.extend({
  
  el:'.wine-list',
  
  template : _.template($('#wine-list-tpl').html()),
  
  render: function(){
      console.log("rendering is ok");
      this.$el.html( this.template( this.model.toJSON() ));
      return this;
      }
  }); 
  
  var WineList = Backbone.View.extend({
  model:wines,
  
  initialize: function(){ 
      var self=this;
      wines.fetch();
      _.each(this.model.toArray(), function(wine, i){
  
          $('#wine-list').append((new WineLists({ model : wine })).render().$el);
  
          });
      }
  });
  
  var wineListView = new WineList();
  </code></pre>
  
  <p>I have added some data in to my local storage and i just want to show those data to that particular div element. </p>
  
  <p>In WineLists view i am getting all those data. means when i am writing, console.log(this.model.get('name')); I got my desired data, but i only want to show those data through template to that particular div. what should i do, please suggest.</p>