title: Using gravity forms with an asynchronous site
body: <p>I have a wordpress site using angular to handle ajaxed page loads. When loading a page directly, the gravity forms load as expected. If you load from a non grav forms page then navigate to one with a form, you get nothing.</p>
  
  <p>This may have something to do with the scripts grav forms embeds below the forms. So I am wondering if there is a way to init a form after being loaded in via ajax.</p>
  
  <p>I can use some html, jquery magic to fetch the form via ajax after page load using this in functions.php:</p>
  
  <pre><code>gravity_form_enqueue_scripts( $form_id, true );
  echo gravity_form($form_id, false, false, false, null, true, 12, true);
  </code></pre>
  
  <p>When I inject the results into the DOM I just get this console error:</p>
  
  <pre><code>gformInitSpinner is not defined
  </code></pre>
  
  <p>and even if I target the new html and show the form, which comes through as html, I get a massively malformed form that doesn't work. Clearly because the scripts don't get evaluated and that js error blocks it anyhow.</p>
  
  <p>So does anyone know if there is a way to make gravity forms work with an asynchronous site? Or if you can load a functional form using ajax?</p>
  
  <p>I am not able to fill the enqueue system with gravity_form_enqueue_scripts since there could be any number of forms made at any time. That's not a practical solution.</p>