This project expose a library allow to use feature flag in application. And a demo application that uses the distributed library. The library allows you to enable or disable feature by using a service, a directive or a route guard (using canMatch).
For the library, see projects/ngx-feature-flag/README.md
For the demo application :
npm install
// install angular and all projects dependanciesng build --project=ngx-feature-flag
// build library to dist folderng serve --project=demo
// run the application- open a browser on https://localhost:4200
You can change the enabled feature from environment files
If you have a problem of dependancy injection, install local library with this : npm install ./dist/ngx-feature-flag --install-links
It will copy files to node_modules instead of doing a symlink that leads Angular to fail dependancy injection (don't know why)