ng-repeat is not returning a list of posts

It looks like the tutorial you linked is using success, and you’ve changed it to then.

The success method has been deprecated, so you were correct to do that. However, because then returns data a little differently from success, you’ll need to update your $scope.post variable accordingly:

$scope.post = res.data;

You can find a great explanation for the change in this answer.