I get data from the database using the $http service and get() method. The database contains 100 records in the form of an array of objects, but I only need to get the first 10 records, not all 100.
How do I correctly write a query to retrieve only 10 records?
pagerequest? Something like/data?size=10?