Using require to load an external template

Let's discuss the use of require to load an external template and how this is achieved using webpack's raw loader.

Note: Even though it is technically possible to use ES6 style imports to load the template, require ends up being cleaner.

With Angular 1.x basics out of the way we can start talking about...