iterating inside a $http.get
问题 I've this block of code which displays 20 items per request. .controller('ActorController',function($scope,$http) { $scope.getActors = function () { var actors = $http.get(https://api.themoviedb.org/3/person/popular&page=1); actors.then( function (response) { $scope.actors = response.data.results; } ); } }) Instead of page=1, if i put page=2, I'll get another set of 20 items and so on. How to iterate inside the $http.get if I want more than 1 get request in a single page? I want to display