code: function(form, decorator, slots, lookup) {
          return build(form, decorator, function(form, field) {
            if (form.type === 'template') {
              return form.template;
            }
            return $templateCache.get(field.template);
          }, slots, undefined, undefined, lookup);
  
        }
docs: Builds a form from a canonical form definition