$scope.list= function () {
$scope.isDataLoaded= false;
$http.get(requestURL).then(function (response) {
$scope.isDataLoaded= true
...
})
<ul ng-if="isDataLoaded" class="viewport" ui-scroll-viewport>
<li ui-scroll="item in datasource" adapter="adapter" buffer-size="5">
<span class="title">{{item}}</span>
</li>
</ul>