title: How to remove defer nomodule from the index.html on angular build
body: <p>Im working on enterprise application with custom client requirement there i'm using spring boot mvc with theamleaf template resolver with the angular front end application ,
  My question is about angular 8, that angular when i build angular application that generate index.html file with the defer attribute in every script tags those are not supported to the theamleaf template resolver to parse as html 5 .. those are worked on other angular version upto 7 but its not working on angular 8 </p>
  
  <p>my current build script is like this </p>
  
  <pre><code>&lt;script src="runtime.js" defer&gt;&lt;/script&gt;
  &lt;script src="polyfills-es5.js" nomodule defer&gt;&lt;/script&gt;
  &lt;script src="polyfills.js" defer&gt;&lt;/script&gt;
  &lt;script src="styles.js" defer&gt;&lt;/script&gt;
  &lt;script src="vendor.js" defer&gt;
  &lt;/script&gt;&lt;script src="main.js" defer&gt;&lt;/script&gt;
  </code></pre>
  
  <p>my expected result is like </p>
  
  <pre><code>  &lt;script src="runtime.js" defer="defer"&gt;&lt;/script&gt;
  &lt;script src="polyfills-es5.js" nomodule="nomodule" defer="defer"&gt; 
  </code></pre>
  
  <p>if  i change the builded index file as my expected result by hand that work with my application but its not possible to use with git pipe line build profile , Please help -- Thanks  </p>