app.run(function(formlyConfig) { formlyConfig.setType({ name: 'ui-grid', template: '', wrapper: ['bootstrapLabel', 'bootstrapHasError'] });