I ran into two issues when using ng-html2js. One issue is a Windows specific issue, the other one might or might not be an issue on Linux, I'm not sure.
These issues are:
Relative paths don't work (at least under Windows). When using absolute paths, the absolute path ends up in the template name.
When template names contain directories, they should be separated with '/' instead of '\' (Windows only issue).
These issues are fixed as follows:
Added an 'baseDir' option. 'baseDir' is subtracted from the template name. This way you can use absolute file names, while the template name will become the abolute url.
Example:
I ran into two issues when using ng-html2js. One issue is a Windows specific issue, the other one might or might not be an issue on Linux, I'm not sure. These issues are:
These issues are fixed as follows:
Would result in a template name of '/partials/views/blah.html'.