an angular pagination directive