You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In previous projects without ngbp I've used requireJS which is similar to the modular architecture from AngularJS. I had a module "config" which I loaded as a dependency for each other module.
Is there any predefined way to handle a global configuration in ngbp or should I continue loading the configuration as a module?
Thank you!
The text was updated successfully, but these errors were encountered:
I believe NGBP is just a starting point for your AngularJs apps, the main goal being to start working with a basis of good practices and design patterns.
It does not include any sort of configuration module, when I'm coding I tend to follow the Angular-styleguide recommendations (https://github.com/johnpapa/angular-styleguide#style-y128) which are, for configuration, to create a configuration file for each module like module1.config.js, placed side by side with the module entry point and which will hold all the constants used in the module.
In previous projects without ngbp I've used requireJS which is similar to the modular architecture from AngularJS. I had a module "config" which I loaded as a dependency for each other module.
Is there any predefined way to handle a global configuration in ngbp or should I continue loading the configuration as a module?
Thank you!
The text was updated successfully, but these errors were encountered: