⬅︎ Back to To then() or to success() in AngularJS
I think that the when method from $q does exaclty what you want:https://docs.angularjs.org/api/ng/service/$q (search for when(value);)
Comment
I think that the when method from $q does exaclty what you want:
https://docs.angularjs.org/api/ng/service/$q (search for when(value);)