Your module to handle with feature toggles in Angular2 applications easier.
npm install angular2-feature-toggle

Your module to handle with feature toggles in Angular2 applications easier.
Install angular2-feature-toggle module as a project dependency.
``bash`
$ npm install --save angular2-feature-toggle
After that you just need to import the FeatureToggleModule into your application and the directive will be accessible in your application.
`typescript
import { FeatureToggleModule } from 'angular2-feature-toggle';
...
@NgModule({
...
imports: [ FeatureToggleModule ],
...
})
...
`
`html`
condition is true and featureToggle is enabled.
condition is false and featureToggle is disabled.
Run npm test to execute the unit tests via Karma.
Run npm run build
This package is using the AngularJS commit messages as default way to contribute with commitizen node package integrated in this repository. If you are not so familiar with the Angular projeto commit messages standard, please commit your contribution using:
`bash``
$ npm run commit
https://plnkr.co/edit/RepjOclLXM32YbCgC4vv
Wilson Mendes (willmendesneto)
+
+
+