Handle Angular Promises. Fix #57