docs: function transform(flapjack, options) {
      var filePath = options.filePath;
      var appName = this.getAppName(filePath, options.appName);
      flapjack = this.checkIngredients(flapjack, options);
  
      // if no flapjack, return without doing anything
      if (!flapjack) { return null; }
  
      var defaults = options.defaults && !_.isString(options.defaults) ?
          JSON.stringify(options.defaults) : null;
  
      // get the param info and then generate the template
      var paramInfo = this.getFilteredParamInfo(flapjack, options);
      var moduleName = options.moduleName;
  
      return this.template({
          defaults:           defaults,
          raw:                options.raw,
          ngType:             options.ngType,
          appName:            this.getAppModuleName(options.prefix, appName),
          moduleName:         options.isFromPlugin ? (moduleName + 'FromPlugin') : moduleName,
          includeName:        options.ngType !== 'config',        // don't include a module name for confing declarations
          params:             paramInfo.list,
          convertedParams:    paramInfo.converted,
          ngrefs:             paramInfo.ngrefs,
          isFromPlugin:       options.isFromPlugin,
          pluginModuleName:   moduleName,
          body:               this.getModuleBody(flapjack)
      });
  }