text: var fs = require('fs');
  module.exports = function(app) {
    app.config([
      'formioComponentsProvider',
      function(formioComponentsProvider) {
        formioComponentsProvider.register('container', {
          title: 'Container',
          template: 'formio/components/container.html',
          group: 'layout',
          icon: 'fa fa-folder-open',
          settings: {
            input: true,
            tree: true,
            components: [],
            tableView: true,
            label: '',
            key: 'container',
            protected: false,
            persistent: true
          }
        });
      }
    ]);
    app.controller('formioContainerComponent', [
      '$scope',
      function($scope) {
        $scope.data[$scope.component.key] = $scope.data[$scope.component.key] || {};
        $scope.parentKey = $scope.component.key;
      }
    ]);
    app.run([
      '$templateCache',
      'FormioUtils',
      function($templateCache, FormioUtils) {
        $templateCache.put('formio/components/container.html', FormioUtils.fieldWrap(
          fs.readFileSync(__dirname + '/../templates/components/container.html', 'utf8')
        ));
      }
    ]);
  };
  