I'm working on an older AngularJS project that has a lot of code and instead of then()
in code success()
and error()
is used.
Is there any painless way or recommendation how to turn all success()
and error()
into then()
without having to change everything manually?