Thanks. I used this somewhere in nwc -- at first using jquery, then later I updated it to use the ng equivalent. I wish I didn't have to use apply -- it really mucks it up. I wish jQuery implemented a $.whenAll(promises).done() / $.when.all(promises).done() syntax so that we can avoid apply(), but I think this is ok for now.