forked from https://github.com/ccoenraets/angular-directory