You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which sth like content = content.replace(/<script[^>]*>\n*/g,'').replace(/\n*<\/script>/g,''); at L20 html2js.js is good for me, assuming the id follow convention as in the path
This can be resolved if someone can create a new PR corresponding to #42 - or point me to some guide to contributing to this project, so I can do it myself.
I find this library a nice idea & soling the problem.
for some reason my templates are in the script tag format, which then include & pick up by PHP.
with ng-html2js, the whole thing will be treated as the template itself
i.e. $templateCache.get('templateId.html') will get the script tags as well
so the approach perhaps a script tag regex is good enough
The text was updated successfully, but these errors were encountered: