title: Passing a JSon object to a Marionette composite View
body: <p>I have a simple table that shows a list of objects, however i want to pass a boolean so that if the user is logged in he can see the [edit] button, i have tried passing the parameter as a listItem but was unable to, can anyone shed a light onto this?</p>
  
  <p>CLARIFICATION: I want to be able to access the value from inside the template</p>
  
  <pre><code>       var TableView = {};
  
      TableView.RowItemView = Marionette.ItemView.extend({
          tagName: "tr",
          template:$('#table-template-item').html(),
  
          //if required add events and triggers here.
          events: {
              "click td a.js-show": "showClicked",
              "click td a.js-edit": "editClicked"
              }
  
         });
  
      TableView.MainTable = Marionette.CompositeView.extend({
          tagName: "table",
          className: "table table-hover",
          template: $('#table-template').html() ,
          itemView: TableView.RowItemView,
          itemViewContainer: "tbody"
  
      });
  
     return TableView;
  
      InitialController.home = function () {
      console.log("initializing application layout");
      var list = new PropertiesModel.ContactCollection;
      list.fetch({reset: true});
      var tableView = new TableView.MainTable({
          collection: list
      });
  
      app.mainRegion.show(tableView);
  
  };
  </code></pre>