title: How to trigger an event from child view to parent view in backbonejs and requirejs
body: <p>I have a parentview which dynamically creates a child view and I have triggered an event from child view to parent view and I am passing the model of the child view to parent view with some properties set. now in the parent view i have to take the model and add to collection. here is my code
  child view trigger code</p>
  
  <pre><code>$(this.el).trigger('added', this.model);
  </code></pre>
  
  <p>parentview event</p>
  
  <pre><code>events: {
              "added": "addNewAttribute"
          },
      addNewAttribute: function (model) {
          console.log(model);
          this.collection.add(model);
          console.log(this.collection);
      }
  </code></pre>
  
  <p>console.log returns undefined. can someone let me know how to pass the model back to parent view?</p>
  
  <p>thanks</p>