add paginate Controller sample.

Signed-off-by: teon <subteon@gmail.com>