modal displays correct fields for field type
kind of got the ng-repeat on fields working