<form class="formly" role="form">
    <formly-field ng-repeat="field in fields"
                  options="field"
                  form-value="result[field.id||$index]"
                  class="formly-field"
                  form-id="options.uniqueFormId"
                  index="$index"
                  toolbar-configuration-override="options.toolbarConfiguration"
                  ng-hide="field.hide">
    </formly-field>
</form>