angular-jsdoc
angular-jsdoc copied to clipboard
templatePathPrefix to directive template Url
I'm currently developing a JavaEE based project with angular frontend. All my frontend stuff (js html css) is under src/main/resources. Now i am trying to document one of directives which looks like this:
var directive = function () {
return {
restrict: 'E',
controller: Ctrl,
templateUrl: 'app/mydirective/MyDirectiveTemplate.html'
}
};
The problem is now, jsdoc (or angular-jsdoc ;) ) does not find the MyDirectiveTemplate.html because it is not found under app/mydirective/MyDirectiveTemplate.html
but src/main/resources/app/mydirective/MyDirectiveTemplate.html
. If i change the templateUrl to src/main/resources/app/mydirective/MyDirectiveTemplate.html
documentation works, but my app doesnt work in production ofc.
What i need here is some sort of option templatePathPrefix
. Is this already possible and i am missing it ? Or would this be a valid "feature"?
#72