a simple demo for angular pager directive