Given the following structure.
root
---app
-----components
all of the directive templates use 'components/somemodule/some-template.html'
My node server typically runs the app from /app using express.static. Everything works fine.
PROBLEM: When running Karma Unit tests from the ROOT using grunt and trying to place a directive.. 404 not found : 'components/somemodule/some-template.html'
Obviously because the references should be: 'app/components/somemodule/some-template.html'
I cannot change this in my directive templates. Is there a way to tell Karma to find the right paths or have Karma run at the app level so it can resolve the paths?