static/bower_components/angular-schema-form/dist/schema-form.js
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);
          }


        }
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);
          }


        }
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 ) ; } }
Common renderer function, can either be triggered by a watch or by an event.
Common renderer function can either be triggered by a watch or by an event .