docs: function getComponentDirectives(appName, componentPrefix) {
      componentPrefix = (componentPrefix || 'pc') + '-';
      var directives = {};
      var me = this;
  
      _.each(this.getAppFileNames(appName, 'partials'), function (partialName) {
  
          // if not a JavaScript file, ignore it
          if (!me.pancakes.utils.isJavaScript(partialName)) { return; }
  
          // get the right partial name and partial
          var partial = me.pancakes.cook('app/' + appName + '/partials/' + partialName);
  
          // don't include if no view, is client only or is an abstract view
          if ((!partial.view && !partial.subviews && !partial.parent) ||
              partial.clientOnly || partial.abstract) { return; }
  
          // set the directive map values that will be used by jangular to render
          var directiveName = componentPrefix +
              partialName.substring(0, partialName.length - 11).replace(/\./g, '-');
  
          directives[directiveName] = me.getPartialRenderFn(partial, partialName);
      });
  
      return directives;
  }