Non intrusive pagination in angular