docs: function transform(flapjack, options) {
      options = options || {};
  
      var filePath = options.filePath;
      var config = options.config || {};
      var appName = this.getAppName(filePath, options.appName);
      var appInfo = this.pancakes.cook(options.moduleName, { flapjack: flapjack });
      var routes = appInfo.routes || [];
      var resolveHandlers = this.getResolveHandlers(appName, routes, options);
      var me = this;
  
      routes = routes.filter(function (route) {
          if (!route.name) {
              return false;
          }
  
          var uiPart = me.getUIPart(appName, route);
          return !uiPart.serverOnly;
      });
  
      return this.template({
          appName:            appName,
          sideview:           '',
          moduleName:         this.getAppModuleName(options.prefix, appName),
          auth:               (config && config.security && config.security.auth) || {},
          routes:             JSON.stringify(routes),
          resolveHandlers:    resolveHandlers,
          isMobile:           appInfo.isMobile ? 'true' : 'false'
      });
  }