title: Is it possible to load JSON data in Wordpress without using AJAX?
body: <p>So, I'm diving head first into something I have little knowledge about; Wordpress and using AngularJS to display custom data in a custom page within a theme. Most of what I have just stated, I've been able to find proper documentation on how to make it work, however, all of it references the JSON gathering using AJAX. Is it possible to pull JSON data from WP using a bootstrap (not sure if this is the correct term) method?</p>
  
  <p>For example, as soon as the page loads, the <code>&lt;head&gt;</code> would contain all of the necessary JSON data available to the application without having to make an AJAX request to get it:</p>
  
  <pre><code>&lt;head&gt;    
      &lt;script&gt;
         var jsonData = {
            "prop" : "value"
         }
      &lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>So far I've learned that WP has a JSON REST API available to display data in JSON, however, can it be used as it is displayed above as opposed to using an HTTP request to get the data and assign it to an Angular model?</p>