atticoos / gulp-ng-config

:wrench: Create AngularJS constants from a JSON config file
MIT License
173 stars 35 forks source link

Override the module name #25

Closed MTmace closed 9 years ago

MTmace commented 9 years ago

There should be a way to override the module created or used instead of relying on the file name. So if we have a file and module called config that we want to add some environment variables to we can create a file called config.env.js and add the defined variables to the config module.

MTmace commented 9 years ago

This is possible with the current implementation.

atticoos commented 9 years ago

Glad you figured it out :sweat_smile: