when i use the following code in my angularJs controller
var baseAccount = Restangular.all('account'); $scope.submit = function(){ baseAccount.getList().then(function(accounts) { $scope.datas = accounts ; });
i get the following error, Response for getList SHOULD be an array and not an object or something else in restangular
is there any solution ?