miickel / gulp-angular-templatecache

Concatenates and registers AngularJS templates in the $templateCache.
MIT License
525 stars 103 forks source link

Extract template without html file #106

Closed ghost closed 6 years ago

ghost commented 9 years ago

Hello, I have a question...in my project I have only templates generate with gulp-angular-templatecache. Now I want to modify this template and in this way is very difficult. Is there a way to extract the html? Thanks!

miickel commented 9 years ago

The output is just regular HTML escaped to work inside a JavaScript string. So remove the escape characters to turn it into regular HTML again. Your text editor should be able to do a find & replace