# AngularDetector

**Kind:** Class

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/angular-detector.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/angular-detector.ts#L77)

Angular Detector

## Methods

| Method | Signature | Returns |
|---|---|---|
| `detectComponents` | `detectComponents(entities: Entity[])` | `DetectedAngularComponent[]` |
| `detectServices` | `detectServices(entities: Entity[])` | `DetectedAngularService[]` |
| `getComponentSummary` | `getComponentSummary(component: DetectedAngularComponent)` | `string` |

## Where it refuses work

- `AngularDetector` stops the work with an early return when `/templateUrl\s*:/.test(code)`.
- `AngularDetector` stops the work with an early return when `/template\s*:/.test(code)`.
- `AngularDetector` stops the work with an early return when `/styleUrls?\s*:/.test(code)`.
- `AngularDetector` stops the work with an early return when `/styles\s*:/.test(code)`.
- `AngularDetector` stops the work with an early return when `/FormGroup|FormControl|FormArray|FormBuilder/.test(code)`.
- `AngularDetector` stops the work with an early return when `/\[\(ngModel\)\]|ngModel/.test(code)`.
