title: How to implement a "scroll to load more" using Node.js and MongoDB?
body: <p>I have a Node server using Express+Typescript that connects to a MongoDB database using Mongoose.
  In my DB I have a collection called <code>Products</code> that the frontend (Angular 9) requests to display them.</p>
  
  <p>Right now I just send a <code>GET</code> request and my server returns all the products:</p>
  
  <pre><code>public async getAll() {
          const products = await this.productModel.find({}).then(products =&gt; products).catch(() =&gt; false)
  
          if (!products)
              throw new Error('Could\'nt get products')
  
          return products
      }
  </code></pre>
  
  <p>in angular:</p>
  
  <pre><code>getAllProducts() {
      return this.http.get&lt;IProduct[]&gt;('http://127.0.0.1:3000/products/')
    }
  </code></pre>
  
  <p>My question is how can i retrieve the products by "chunks", like <code>n</code> products per request also without repeating products? </p>