Edit in JSFiddle

<div ng-app="formApp" class="well">
  <formio form="{  
    components: [
      {
        tableView:true,
        type: 'textfield',
        validate: {
          customPrivate:false,
          custom: '',
          pattern: '',
          maxLength: '',
          minLength: '',
          required:true
        },
        persistent:true,
        unique:false,
        protected:false,
        defaultValue: '',
        multiple:false,
        suffix: '',
        prefix: '',
        placeholder: 'Enter your first name',
        key: 'firstName',
        label: 'First Name',
        inputMask: '',
        inputType: 'text',
        input:true
      },
      {
        type: 'textfield',
        validate: {
          customPrivate:false,
          custom: '',
          pattern: '',
          maxLength: '',
          minLength: '',
          required:false
        },
        persistent:true,
        unique:false,
        protected:false,
        defaultValue: '',
        multiple:false,
        suffix: '',
        prefix: '',
        placeholder: 'Enter your last name',
        key: 'lastName',
        label: 'Last Name',
        inputMask: '',
        inputType: 'text',
        tableView:true,
        input:true
      },
      {
        tableView:false,
        type: 'button',
        input:true,
        label: 'Submit',
        key: 'submit',
        size: 'md',
        leftIcon: '',
        rightIcon: '',
        block:false,
        action: 'submit',
        disableOnInvalid:true,
        theme: 'primary'
      }   
    ]
  }"></formio>
</div>
angular.module('formApp', ['formio']);