add pagination with angular for posts list