add getRawPromise to use for $q compatibility