title: Rendering a template getting the data from a model in Backbone
body: <p>I'm having some issues with rendering my view in backbone getting the data from my model so I'd appreciate any help. Here goes my html code:</p>
  
  <pre><code>&lt;ul id="datos"&gt;
  
  &lt;/ul&gt;
  
  &lt;script type="text/template" id="listado-template"&gt; 
      &lt;h2&gt;Mi listado&lt;/h2&gt;
      &lt;li&gt;Item 1: &lt;%= item1 %&gt;&lt;/li&gt;
  &lt;/script&gt;
  
  &lt;script&gt;
      modelo = new Modelo();    
      modeloView = new ModeloView({model: modelo});
  &lt;/script&gt;
  </code></pre>
  
  <p>And this are my model and my view:</p>
  
  <pre><code>Modelo = Backbone.Model.extend({
      urlRoot: 'myurljson',
  });
  
  Backbone.View.extend({ 
      tagName: "ul",
  
      el: "#datos",
  
      template: _.template($('#listado-template').html()),
  
      initialize: function() {    
          this.model.on('change', this.render, this); 
      },
  
      render: function() {
          this.$el.append(this.template(this.model.toJSON()));
          return this;
      }
  });
  </code></pre>
  
  <p>The problem is my template is not renderized well. I'm getting an undefined error with <code>item1</code>. But if I delete this tag <code>li</code>, the tag <code>h2</code> is renderized so I guess the problem is in getting my data from my model through "myurljson". Any help? Thank you!</p>