code: function(schema, form) {
            var asyncTemplates = [];
            var merged = schemaForm.merge(schema, form, ignore, scope.options, undefined, asyncTemplates);
  
            if (asyncTemplates.length > 0) {
              // Pre load all async templates and put them on the form for the builder to use.
              $q.all(asyncTemplates.map(function(form) {
                return $http.get(form.templateUrl, {cache: $templateCache}).then(function(res) {
                                    form.template = res.data;
                                  });
              })).then(function() {
                internalRender(schema, form, merged);
              });
  
            } else {
              internalRender(schema, form, merged);
            }
  
  
          }
docs: Common renderer function, can either be triggered by a watch or by an event.