formly p-grid problem
app.run(function(formlyConfig) {
formlyConfig.setType({
name: 'ui-grid',
template: '<div ui-grid="{ data: model[options.key], columnDefs: to.columnDefs, onRegisterApi: to.onRegisterApi}" ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-edit ui-grid-row-edit ></div>',
wrapper: ['bootstrapLabel', 'bootstrapHasError']
});