我已实施一项服务。我正在创建两个对象。 刷新后,其值变为空。 我应该如何存储这些对象,以便我可以在刷新后访问它们。 var userPool = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserPool(xyz);
var cognitoUser = AWSCognito.authenticate(userpool);
这是在
我需要从服务器获取数据后传递到服务中的数组。所述controller运行函数来检索数据,如图 .controller("messagesController", function($scope, $stateParams, RegisterP) {
// function here retrives data from the RegisterP parameter above call