switched back to angular 1.0.8 since 1.2.0rc1 is broken. now fetching sub folders and showing as a tree. need to optimize.