NG: Updated IPromise.then to return a typed result.