Add 'angular.isPromise' reference check