title: RequireJs - Backbone.Views depends one to each other
body: <p>I have an issue with requirejs and backbone. 
  Well, I have two views (View1 and View2). I want to call View2.render() from View1 and View1.render() from View2. In general I want each view to depends to another.</p>
  
  <p>My problem is that I cannot call View2.render(). I am getting the error message "cannot call method render of undefined"</p>
  
  <p>If I remove the <strong>View1</strong> dependency from View2 then it will work. </p>
  
  <p>Does anyone know how can I amend the code so it could work without issues?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p><em>View Name-->View2</em></p>
  
  <pre><code>define([
  'Underscore',
  'Backbone',
  'Handlebar',
  'views/view1'
  ], function (_, Backbone, Handlebars, View1) {
  var View2 = Backbone.View.extend({
      initialize: function () {
          _.bindAll(this, "render");
      },
      tagName: 'div',
      el: '#rightPanel',
      events: {
          'change input#createNewCategory': 'createNewItem',
          'click #saveEdits': 'saveData',
          'click #clearEdits': 'render'
      },
      render: function () {
          //do something here
      },
      clear: function () {
          this.$el.empty();
      },
      createNewItem: function (e) {
        //so something here
      },
      saveData: function () {
          //This works Fine
          View1.render();
      }
  });
  
  return new View2;
  });
  </code></pre>
  
  <p><em>View Name --> View1</em></p>
  
  <pre><code>define([
  'Underscore',
  'Backbone',
  'Handlebar',
  'views/view2'
  ], function (_, Backbone, Handlebars, View2) {
  var View1 = Backbone.View.extend({
      tagName: 'li',
      el: '#categoriesList',
      events: {
          'click .categoryItem': 'edit'
      },
      initialize: function () {
          _.bindAll(this, "render");
      },
      edit: function (e) {
          View2.render();
          //**ERROR (cannot call method render of undefined)**
      },
      render: function () {
          //do something here
      }
  });
  
  return new View1;
  }); 
  </code></pre>
  
  <p>Thanks </p>