Angularjs同步操作http請求with $promise

// Define a factory app.factory('profilePromise', ['$q', 'AccountService', function($q, AccountService) { var deferred = $q.defer(); AccountService.getProfile().then(function(res) {
相關文章
相關標籤/搜索