Direct purchase order

I don't think the `.then()` does anything here.  Can you just return `$q.all([d , i])`?