[liuxia] Fixing resolve/reject not working out of angularJS root scope event.