docs: correct out-of-range highlight indices in two code blocks

Both indices point past the end of their block, so the intended lines are
never highlighted. The reactive forms block renders with no highlight at all,
and the first example in output-interop.md highlights nothing while its
sibling block is unaffected.
This commit is contained in:
Kam
2026-08-29 14:57:01 +03:00
committed by Matthew Beck
parent 731c838dbb
commit cd3c8cdd3a
2 changed files with 2 additions and 2 deletions
@@ -8,7 +8,7 @@ The `@angular/rxjs-interop` package offers two APIs related to component and dir
The `outputFromObservable` lets you create a component or directive output that emits based on an RxJS observable:
```ts {highlight:[11]}
```ts {highlight:[9]}
import {Directive} from '@angular/core';
import {outputFromObservable} from '@angular/core/rxjs-interop';
@@ -110,7 +110,7 @@ handleSubmit() {
You have access to the form values, now it is time to handle the submission event and use the `handleSubmit` method.
Angular has an event handler for this specific purpose called `ngSubmit`. Update the form element to call the `handleSubmit` method when the form is submitted.
```angular-html {highlight:[3]}
```angular-html {highlight:[1]}
<form [formGroup]="profileForm" (ngSubmit)="handleSubmit()"></form>
```