title: Force browser to clear cache in Angular environment
body: <p>There is a popular question on how to force-clear the cache of the browser in a VanillaJS application, with the general consensus being, setting the name of the .js-script or the scripts arguments to a new value: <a href="https://stackoverflow.com/questions/1922910/force-browser-to-clear-cache">Force browser to clear cache</a></p>
  
  <p>How can I achieve this with Angular (currently 5.1 in AngularCLI/Webpack build), so every time I release the code in production (with AOT), a new version is built? I would use date-hashing instead of indexing, but the main question is: where can I set it (eg the script name/arguments)? In development, where the CLI takes care of rebuilding the app, this is not an issue, just in production!</p>