$then injectable for doing something after the next digest