title: How to register a custom callback after Ember.RSVP.hash
body: <p>I have a route that pulls in 2 different promises using RSVP like so</p>
  
  <pre><code>model: function() {
    return Ember.RSVP.hash(function() {
      stuff: App.Thing.find(),
      other: this.store.find('appointments', {day: day})    
    });
  }
  </code></pre>
  
  <p>The challenge is that I have a custom function I bind/invoke in the "then" of the 2nd promise shown above. How can I invoke this when the callback happens along side another promise using RSVP?</p>
  
  <p>Here is the custom callback as it stands today (not inside of RSVP.hash just yet)</p>
  
  <pre><code>    function bindContextAndGenerateAvailable(employee, other, appointments) {
          return function(filteredAppointments) {
              //will take the filtered collection and do something w/ it
              //to populate the bound appointments array passed in
          }
      }
  
      var appointments = Ember.A([]);
      this.store.find('appointment', {day: day}).then(function(response) {
          Ember.RSVP.all(response.getEach('employee')).then(function(empls){
            var filtered = response.filterBy('employee.id', employee);
            Ember.RSVP.resolve(filtered).then(bindContextAndGenerateAvailable(employee, other, appointments));
          });
      });
      return appointments;
  </code></pre>