# What Are Best Practices for Running Embeddable In Angular?

**URL:** <https://community.embeddable.com/t/what-are-best-practices-for-running-embeddable-in-angular/145>\
**Category:** FAQs\
**Created:** [August 25, 2025, 3:22pm UTC](https://community.embeddable.com/t/what-are-best-practices-for-running-embeddable-in-angular/145 "2025-08-25T15:22:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris-Embeddable](https://dub1.discourse-cdn.com/flex013/user_avatar/community.embeddable.com/chris-embeddable/32/24_2.png) [@Chris-Embeddable](https://community.embeddable.com/u/Chris-Embeddable)\
**Post date:** [August 25, 2025, 3:22pm UTC](https://community.embeddable.com/t/what-are-best-practices-for-running-embeddable-in-angular/145/1 "2025-08-25T15:22:41Z")

</div>

Getting your Embeddable working in an Angular application is very straightforward, but there are a few small things you need to be aware of!

Embedding web components in Angular requires you to include their `CUSTOM_ELEMENTS_SCHEMA`in order to avoid throwing errors. This can be solved in the component TS file by importing `CUSTOM_ELEMENTS_SCHEMA`from `angular/core`and then referencing it in the options you pass to `@Component` like this:

```auto
@Component({
  imports: [RouterOutlet],
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  selector: 'app-root',
  templateUrl: './app.html',
}) 

```

Once you have that working, you should be able to include your `em-beddable` webcomponent code in your app without seeing any errors. However, if you want to add dynamic client context values, you’ll need to go a bit further. We recommend adding a `clientContext` method that employs `signal` like this:

```auto
  protected readonly clientContext = signal(
    JSON.stringify({ theme: this.theme })
  );

```

And then to change the value, you’ll want to employ the `set` method like this:

```auto
this.clientContext.set(JSON.stringify({ theme: this.theme }));

```

(You would, in this example, run that command after the theme value changes)

Looking for more details? Check out `client-angular` in [our example web component repo](https://github.com/embeddable-hq/web-component-example/)!
