See post for howTo: http://lightninghack.com/generic-fieldsets-lightning/
gusgunn/FieldSetsWithGenericCode
Lightning component uses Field sets defined in Design resource. Service code calls apex, returns Field set to recordForm
JavaScript
Lightning component uses Field sets defined in Design resource. Service code calls apex, returns Field set to recordForm
JavaScript
See post for howTo: http://lightninghack.com/generic-fieldsets-lightning/