code: function getResourceNames() {
          var resourceNames = {};
          var resourcesDir = this.injector.rootDir + '/' + this.injector.servicesDir + '/resources';
  
          if (!fs.existsSync(path.normalize(resourcesDir))) {
              return resourceNames;
          }
  
          var names = fs.readdirSync(path.normalize(resourcesDir));
          _.each(names, function (name) {
              if (name.substring(name.length - 3) !== '.js') {  // only dirs, not js files
                  resourceNames[utils.getPascalCase(name)] = utils.getCamelCase(name);
              }
          });
  
          return resourceNames;
      }
docs: Get all the resources into memory
  @returns {{}}