title: AngularJS - How to list the filenames from a given folder?
body: <p>I have this folder/directory 'x' in the public folder of my application.
  Now I have path name till the folder i.e., /path/to/dir/x , but I don't know the names of the files in this directory. Now I need to provide URL links to the files in the html a tag's href attribute.</p>
  
  <p>How do I list the name of the files in this directory?</p>