Table for angular with pagination