angular/angular.js — pull request #8302 by shahata (2014-07-22 22:22:08+00:00)
Title: refactor(Angular): add isPromise helper function

This can be used internally to remove the repeating pattern of `obj && obj.then`. For now, I don't see a good reason to expose this in angular's public interface.