Fixes #6: chained promises are now properly supported by $q.tick().