I\'m trying to build a recursive promise in Angular/Javascript. For purpose of explaining the issue, I simplified into an example.
Say I have a parent function testRecurs