我想弄清楚是否有任何方法可以将索引参数传递给promise的回调函数。例如。serviceCall.$promise.then(function(object){$scope.object=object;});现在我想传入一个数组索引参数作为serviceCall.$promise.then(function(object,i){$scope.object[i]=something;});这能做到吗?请告诉我。下面是代码StudyService.studies.get({id:$routeParams.studyIdentifier}).$promise.then(function(s