摘要:
http://stackoverflow.com/questions/18374357/nested-promises-not-resolving-until-a-button-is-clickedAngular doesn't magically watch all timeouts. It needs a hook to be told that something might have changed, which triggers a$digestloop.You can do it manually, by calling$scope.$apply(), or by usin 阅读全文