javoire / browserify-ng-html2js

Browserify transform to compile html templates into angular template modules
MIT License
27 stars 17 forks source link

Add stripPathBefore option #26

Closed mlarcher closed 8 years ago

mlarcher commented 9 years ago

This option allows the user to remove everything up to a certain point in the path when the module/file name are created. It comes in handy when you need more control over the paths.

mlarcher commented 9 years ago

It fixes the use case initially described in https://github.com/javoire/browserify-ng-html2js/issues/13 and may help on https://github.com/javoire/browserify-ng-html2js/issues/22

javoire commented 8 years ago

Great

javoire commented 8 years ago

would you mind adding this to the readme? https://github.com/javoire/browserify-ng-html2js#b-with-gulp

mlarcher commented 8 years ago

As you have already merged the PR, I created a new one with the addition in README.md. cf https://github.com/javoire/browserify-ng-html2js/pull/27

javoire commented 8 years ago

Great. Yeah I was a bit quick ;)