title: Is this possible to change script path in index.html file after build completed?
body: <p>I have one angular-cli application, when i give <strong>ng build</strong> command it creates build file which has index.html file.</p>
  
  <p>In index.html file, scripts paths are referred like below:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script type="text/javascript" **src="runtime.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="polyfills.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="styles.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="vendor.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="main.js"**&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>But i want to change that script like below,</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script type="text/javascript" **src="~/runtime.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="~/polyfills.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="~/styles.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="~/vendor.js"**&gt;&lt;/script&gt;
  &lt;script type="text/javascript" **src="~/main.js"**&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Is it possible to change the path without using find and replace method?</p>