Simple table directive with pagination and sorting for Angular