This sample shows how to use yeoman/grunt-usemin to replaces references from non-optimized scripts, stylesheets and other assets to their optimized version within a set of HTML files (or any templates/views).
It also use the filerev to generate the hashkey for the files name and replace the reference in the html page