Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created August 25, 2018 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lydemann/62210cde4890644132ba0237ce8a5467 to your computer and use it in GitHub Desktop.
Save lydemann/62210cde4890644132ba0237ce8a5467 to your computer and use it in GitHub Desktop.
Split testing two features with feature toggling
<app-feature-a *ngIf="isKillerFeatureEnabled; else componentB"></app-feature-a>
<ng-template #componentB>
<app-feature-b></app-feature-b>
</ng-template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment