Skip to content

configcat-labs/feature-flags-in-angular-sample-app

Repository files navigation

Using Feature Flags in an Angular Application

Read the blog post here

The app is a simple page that allows users to vote on a photo by assigning a number from 1 to 10. Using ConfigCat's feature flag services, the application uses a feature flag to enable or disable the voting feature. When disabled, a message will show that voting is disabled.

Build & Run

Prerequisites

Build and Run

  1. Clone this repository:
git clone git@github.com:configcat-labs/feature-flags-in-angular-sample-app.git
  1. Open a terminal at the root of the cloned repository and install the dependencies:
npm i
  1. Add your ConfigCat SDK and feature flag key to src/app/app.component.ts.

  2. Launch the app in your browser with:

npm run start

Learn more

Useful links to technical resources.

ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here.

You can also explore other code samples for various languages, frameworks, and topics here in the ConfigCat labs on GitHub.

Keep up with ConfigCat on X, Facebook, LinkedIn, and GitHub.

Author

Roxana Halati

Contributions

Contributions are welcome!