{{test.length}} records | {{test | pages: pageSize}} pages
Edit in JS Bin