yaru22 / ng-html2js

Standalone script to turn Angular template into js and put it in a module.
32 stars 19 forks source link

add option: declareModule: false #11

Open DmitryEfimenko opened 8 years ago

DmitryEfimenko commented 8 years ago

the try catch block is ugly. Besides it's possible for the developer to know for sure that the module was already declared at the time of running this script.