diff --git a/js/directives/form.js b/js/directives/form.js
index <HASH>..<HASH> 100644
--- a/js/directives/form.js
+++ b/js/directives/form.js
@@ -597,6 +597,7 @@ formsAngular
               unwatch();
               var elementHtml = '';
               var theRecord = scope[attrs.model || 'record'];      // By default data comes from scope.record
+              theRecord = theRecord || {};
               if ((attrs.subschema || attrs.model) && !attrs.forceform) {
                 elementHtml = '';
               } else {
Cope with case where scope doesn't create record