I see some issues when I'm using require() to include contents of an html file in my angular component. I'll copy paste only those sections that are relevant to the issue i am facing.
Here is what my top-nav component looks like.
Ok, i was actually looking for partialify node module.
require()-able HTML, CSS, and (potentially) more require() file contents of HTML, CSS and (potentially) more into a variable as a string.