# The bug reporting widget for Angular apps

Bug reports from Angular apps often arrive as emails with no context. Put a widget on the app instead: screenshot, console, network, straight into Jira, including team-managed projects and JSM.

[Start free](https://issuecapture.com/signup) [See the install](https://issuecapture.com/bug-reporting-for/angular#install)

## Why Angular teams use it

### Zone-swallowed errors never reach the report

Angular's ErrorHandler catches what users would have screenshotted. The widget records console errors and warnings from page load, so handled-and-logged errors still arrive with the report.

### UAT feedback arrives as spreadsheets

Enterprise UAT rounds produce Excel files of "steps to reproduce". A widget on the staging build turns each finding into a Jira issue with evidence attached.

### Strict CSP and style encapsulation

Shadow-DOM rendering keeps the widget out of your ViewEncapsulation story entirely — no global styles added, none consumed.

## Install on Angular in minutes

No SDK, no backend changes — the widget is a single ES module.

1. **Add the script or init in AppComponent**

   Either the module tag in index.html or an environment.ts-driven init in AppComponent.ngOnInit.
2. **Configure per environment**

   Use environment.ts / environment.prod.ts to point staging and production at different widget configs.
3. **Connect Jira**

   OAuth once; UAT findings and user reports arrive as ready-to-work issues.

```ts
// src/app/app.component.ts, inside ngOnInit()
const s = document.createElement('script');
s.type = 'module';
s.textContent = `
  import IssueCapture from 'https://issuecapture.com/widget.js';
  IssueCapture.init({ apiKey: '${environment.issueCaptureApiKey}' });
`;
document.body.appendChild(s);
```

Standalone-component and NgModule setups covered in the docs. [Read the full Angular guide →](https://issuecapture.com/docs/install/angular)

## Reports can include

### Annotated screenshot

Reporters circle the problem instead of describing it

### Console errors

JavaScript errors and warnings from page load onward

### Failed requests

4xx/5xx network calls, with privacy filters

### Browser context

URL, browser, OS, viewport — automatically

Your widget settings control which details are included. On [Team and Business](https://issuecapture.com/pricing), enabled AI features add priority, category and duplicate suggestions after the Jira issue is created. Team-managed projects and [JSM](https://issuecapture.com/for-jira-service-management) are supported. See the [Jira bug reporting guide](https://issuecapture.com/jira-bug-reporting) for how to create a bug report in Jira.

## Angular bug reporting: FAQ

**Does it work with Angular's ErrorHandler and zones?**

Yes — the widget monitors the browser console and network layer directly, so errors your ErrorHandler logs with console.error are captured regardless of zone behavior.

**Can we use it for UAT on internal builds?**

Yes, that's a core use case: put it on the staging build, testers report in place, and each finding lands in Jira with screenshot, console, and network context instead of a spreadsheet row.

**Does it support JSM (Jira Service Management)?**

Yes — reports can create issues in JSM projects as well as Jira Software, including team-managed projects, via the same OAuth connection.

**How big is the widget?**

About 31KB gzipped for the core, loaded as a deferred ES module; the screenshot annotator lazy-loads only when used.

[See all frequently asked questions](https://issuecapture.com/faq)

## Add the widget to your Angular app

Free plan with 10 issues/month (a soft limit), no credit card. Jira connection takes one OAuth click.

[Start free](https://issuecapture.com/signup) [Read the Docs](https://issuecapture.com/docs/install/angular)

- Works with Jira Cloud + JSM
- Team-managed projects supported
- ~31KB core, lazy-loaded extras

---

[View this page on issuecapture.com](https://issuecapture.com/bug-reporting-for/angular)
