How to render local directory in Angular?

After getting Folder / sub folder / files how to render the same in front end using Angular. Can anyone please answer?

Source: AngularJS Questions