davidrios/jade-tmbundle — pull request #24 by ceymard (2014-01-27 12:36:10+00:00)
Title: prevent script tags to include source.js when the node is a ng-template ...

ng-template script nodes have raw HTML in them and thus should not be interpreted as javascript.

That being said, maybe the detection could be extended for anything that has a type="..." that is different from text/javascript ?