title: How to load angular-formly vm.fields object from remotely-generated json?
body: <p>In my application I have dynamic field sets on what is otherwise the same form.  I can load them from the server as javascript includes and that works OK.</p>
  
  <p>However, it would be much better to be able to load them from a separate API.</p>
  
  <p>$.getJSON() provides a good way to load the json but I have not found the right place to do this.  Clearly it needs to be completed before the compile step begins.</p>
  
  <p>I see there is a fieldTransform facility in formly. Could this be used to transform vm.fields from an empty object to whatever comes in from the API?</p>
  
  <p>If so how would I do that?</p>
  
  <p>Thx. Paul</p>