title: Angular - how to read file names in a directory
body: <p>I'm using Angular JS in a ModX app, and I need to read the file names in a gallery (ModX's Gallery pacakge) every time the gallery is updated. Is there a way to do this in Angular?  </p>
  
  <p>I tried researching Javascript solutions to this problem, but all I saw were solutions using ActiveX, and this needs to be cross-browser compatible.</p>
  
  <p>Thanks  </p>