In Angular 2+ is there a way to create a directive, then loop through all of the fields?
For example: