NG: Updated IPromise.then to return a typed result.
Merge branch 'patch-1' of https://github.com/georgiosd/DefinitelyTyped into georgiosd-patch-1
added tests for angular promise chain