I html file like this:
...
<!-- build:js build/js/vendor.js -->
<script src="dep/angular/angular.js"></script>
<!-- endbuild -->
Build file like this:
<script src="build/js/vendor.xxxxxxxx.js"></script>
Now I use gulp-angular-templatecache package all the view files, generate a template.js, I would like to add this document to the compiled html file inside, how to do it?
I found the gulp-useref document in the additionalStreams settings options, but I used to find what is not want to achieve the function.
                        
I solved it in another way.
Write on the page first:
Before packing with
gulp-replacereplaced with like this:Finally unify compilation.
Code: