title: Loop through all files/images in a folder with Angular
body: <p>I have an app with some products and each product has a gallery with a different amount of images. Each of the images has a name that is completely random / no correlation with the other image names. </p>
  
  <p>Each of the product images are in <code>/src/assets/images/products/:id/</code>. </p>
  
  <p>I need to add the paths to a gallery component but I can't loop through them because the names are random. Is there any way to just loop through each file from a folder using only Angular? If not can I do it on the back-end without renaming the files? I'm also running the app on a Node.js back-end if that matters.</p>