using current stripPathBefore: "scripts/" I end up with "scripts/app/view/display.html" and "scripts/main/view/main.html" as template paths
using relativeTo: "scripts"/ I would end up with "app/view/display.html" and "main/view/main.html" as template paths which is far cleaner as "templateUrl" in module.js files (it would mean current_module/views/view_name.html)
Could it be possible to add a "relativeTo" or "fromPath" option in the same fashion as stripPathBefore but stripping the path UP TO that string?
having this structure where app and main are both modules
stripPathBefore: "scripts/"
I end up with "scripts/app/view/display.html" and "scripts/main/view/main.html" as template pathsrelativeTo: "scripts"/
I would end up with "app/view/display.html" and "main/view/main.html" as template paths which is far cleaner as "templateUrl" in module.js files (it would mean current_module/views/view_name.html)