title: How to pass variable data to index.html in angular?
body: <p>I am trying to insert a dynamic script into the head of index.html, however the script contains a variable. See below - The variable should be inserted into shopOprigin indicated by {{shopName}} which is obtained through ActivatedRoute in app.component.ts</p>
  
  <pre><code>&lt;script&gt;
  
  ShopifyApp.init({
        shopOrigin: 'https://{{shopName}}.myshopify.com'
      });
  
  &lt;/script&gt;
  </code></pre>