有没有办法使用TypeScript async / await功能与$q服务承诺?@H_403_3@
angular.module('your app') .run(['$window','$q',function($window,$q) { $window.Promise = $q; }]);