diff --git a/adev/src/content/examples/dynamic-form/src/app/dynamic-form-question.component.ts b/adev/src/content/examples/dynamic-form/src/app/dynamic-form-question.component.ts
index 17f3770b28880..a52f7b20050d3 100644
--- a/adev/src/content/examples/dynamic-form/src/app/dynamic-form-question.component.ts
+++ b/adev/src/content/examples/dynamic-form/src/app/dynamic-form-question.component.ts
@@ -6,7 +6,6 @@ import {CommonModule} from '@angular/common';
import {QuestionBase} from './question-base';
@Component({
- standalone: true,
selector: 'app-question',
templateUrl: './dynamic-form-question.component.html',
imports: [CommonModule, ReactiveFormsModule],
diff --git a/adev/src/content/examples/dynamic-form/src/app/dynamic-form.component.ts b/adev/src/content/examples/dynamic-form/src/app/dynamic-form.component.ts
index f12b94853bc53..e1f3d3771d542 100644
--- a/adev/src/content/examples/dynamic-form/src/app/dynamic-form.component.ts
+++ b/adev/src/content/examples/dynamic-form/src/app/dynamic-form.component.ts
@@ -9,7 +9,6 @@ import {QuestionBase} from './question-base';
import {QuestionControlService} from './question-control.service';
@Component({
- standalone: true,
selector: 'app-dynamic-form',
templateUrl: './dynamic-form.component.html',
providers: [QuestionControlService],
diff --git a/adev/src/content/examples/elements/src/app/app.component.ts b/adev/src/content/examples/elements/src/app/app.component.ts
index dec55e1c97da3..6dc59de1a953e 100644
--- a/adev/src/content/examples/elements/src/app/app.component.ts
+++ b/adev/src/content/examples/elements/src/app/app.component.ts
@@ -4,7 +4,6 @@ import {PopupComponent} from './popup.component';
import {PopupService} from './popup.service';
@Component({
- standalone: true,
selector: 'app-root',
template: `
diff --git a/adev/src/content/examples/elements/src/app/popup.component.ts b/adev/src/content/examples/elements/src/app/popup.component.ts
index 92a5105e8b09e..a2e033a50b4a7 100644
--- a/adev/src/content/examples/elements/src/app/popup.component.ts
+++ b/adev/src/content/examples/elements/src/app/popup.component.ts
@@ -3,7 +3,6 @@ import {Component, EventEmitter, HostBinding, Input, Output} from '@angular/core
import {animate, state, style, transition, trigger} from '@angular/animations';
@Component({
- standalone: true,
selector: 'my-popup',
template: `
Popup: {{ message }}
diff --git a/adev/src/content/examples/errors/cyclic-imports/child.component.ts b/adev/src/content/examples/errors/cyclic-imports/child.component.ts
index eb5705711934b..6304560cdd428 100644
--- a/adev/src/content/examples/errors/cyclic-imports/child.component.ts
+++ b/adev/src/content/examples/errors/cyclic-imports/child.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {ParentComponent} from './parent.component';
@Component({
- standalone: true,
selector: 'app-child',
template: 'The child!',
})
diff --git a/adev/src/content/examples/errors/cyclic-imports/parent.component.ts b/adev/src/content/examples/errors/cyclic-imports/parent.component.ts
index 81d6946efd1f7..790909e46c53b 100644
--- a/adev/src/content/examples/errors/cyclic-imports/parent.component.ts
+++ b/adev/src/content/examples/errors/cyclic-imports/parent.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {ChildComponent} from './child.component';
@Component({
- standalone: true,
selector: 'app-parent',
imports: [ChildComponent],
template: '
',
diff --git a/adev/src/content/examples/i18n/src/app/app.component.ts b/adev/src/content/examples/i18n/src/app/app.component.ts
index b6d83f700aa6d..7f78fecabec8d 100644
--- a/adev/src/content/examples/i18n/src/app/app.component.ts
+++ b/adev/src/content/examples/i18n/src/app/app.component.ts
@@ -3,7 +3,6 @@ import {Component, computed, signal} from '@angular/core';
import {$localize} from '@angular/localize/init';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
})
diff --git a/adev/src/content/examples/inputs-outputs/src/app/aliasing.component.ts b/adev/src/content/examples/inputs-outputs/src/app/aliasing.component.ts
index d2d053f65af5a..95ff8ced8bfff 100644
--- a/adev/src/content/examples/inputs-outputs/src/app/aliasing.component.ts
+++ b/adev/src/content/examples/inputs-outputs/src/app/aliasing.component.ts
@@ -5,7 +5,6 @@
import {Component, EventEmitter, Input, Output} from '@angular/core';
@Component({
- standalone: true,
selector: 'app-aliasing',
template: `
Save for later item: {{input1}}
diff --git a/adev/src/content/examples/inputs-outputs/src/app/app.component.ts b/adev/src/content/examples/inputs-outputs/src/app/app.component.ts
index bc2cc8bb1cd54..e998f0147a97b 100644
--- a/adev/src/content/examples/inputs-outputs/src/app/app.component.ts
+++ b/adev/src/content/examples/inputs-outputs/src/app/app.component.ts
@@ -10,7 +10,6 @@ import {ItemDetailMetadataComponent} from './item-details-metadata.component';
import {ItemOutputComponent} from './item-output.component';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
imports: [
diff --git a/adev/src/content/examples/inputs-outputs/src/app/in-the-metadata.component.ts b/adev/src/content/examples/inputs-outputs/src/app/in-the-metadata.component.ts
index 4659503c4cb88..7c64d02c79794 100644
--- a/adev/src/content/examples/inputs-outputs/src/app/in-the-metadata.component.ts
+++ b/adev/src/content/examples/inputs-outputs/src/app/in-the-metadata.component.ts
@@ -2,7 +2,6 @@
import {Component, EventEmitter} from '@angular/core';
@Component({
- standalone: true,
selector: 'app-in-the-metadata',
template: `
Latest clearance item: {{clearanceItem}}
diff --git a/adev/src/content/examples/inputs-outputs/src/app/input-output.component.ts b/adev/src/content/examples/inputs-outputs/src/app/input-output.component.ts
index 108cda63c60fd..dd161e446d80c 100644
--- a/adev/src/content/examples/inputs-outputs/src/app/input-output.component.ts
+++ b/adev/src/content/examples/inputs-outputs/src/app/input-output.component.ts
@@ -1,7 +1,6 @@
import {Component, Input, Output, EventEmitter} from '@angular/core';
@Component({
- standalone: true,
selector: 'app-input-output',
template: `
Item: {{item}}
diff --git a/adev/src/content/examples/inputs-outputs/src/app/item-detail.component.ts b/adev/src/content/examples/inputs-outputs/src/app/item-detail.component.ts
index d5c73b312f9ca..297bda47f0db6 100644
--- a/adev/src/content/examples/inputs-outputs/src/app/item-detail.component.ts
+++ b/adev/src/content/examples/inputs-outputs/src/app/item-detail.component.ts
@@ -4,7 +4,6 @@ import {Component, Input} from '@angular/core'; // First, import Input
// #enddocregion use-input
@Component({
- standalone: true,
selector: 'app-item-detail',
templateUrl: './item-detail.component.html',
})
diff --git a/adev/src/content/examples/inputs-outputs/src/app/item-details-metadata.component.ts b/adev/src/content/examples/inputs-outputs/src/app/item-details-metadata.component.ts
index f4561b77a7662..55bbce4ca037c 100644
--- a/adev/src/content/examples/inputs-outputs/src/app/item-details-metadata.component.ts
+++ b/adev/src/content/examples/inputs-outputs/src/app/item-details-metadata.component.ts
@@ -6,7 +6,6 @@ import {Component, Input} from '@angular/core'; // First, import Input
import {booleanAttribute} from '@angular/core'; // First, import booleanAttribute
// #enddocregion use-input-metadata-boolean-transform
@Component({
- standalone: true,
selector: 'app-item-detail-metadata',
template: `
Child component with @Input() metadata configurations
diff --git a/adev/src/content/examples/inputs-outputs/src/app/item-output.component.ts b/adev/src/content/examples/inputs-outputs/src/app/item-output.component.ts
index c708bc8d3f1f6..e93294daeab7e 100644
--- a/adev/src/content/examples/inputs-outputs/src/app/item-output.component.ts
+++ b/adev/src/content/examples/inputs-outputs/src/app/item-output.component.ts
@@ -1,7 +1,6 @@
import {Component, Output, EventEmitter} from '@angular/core';
@Component({
- standalone: true,
selector: 'app-item-output',
templateUrl: './item-output.component.html',
})
diff --git a/adev/src/content/examples/pipes/src/app/app.component.ts b/adev/src/content/examples/pipes/src/app/app.component.ts
index d23e7d097a45d..894f313c2e331 100644
--- a/adev/src/content/examples/pipes/src/app/app.component.ts
+++ b/adev/src/content/examples/pipes/src/app/app.component.ts
@@ -10,7 +10,6 @@ import {JsonPipeComponent} from './json-pipe.component';
import {PowerBoosterComponent} from './power-booster.component';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
imports: [
diff --git a/adev/src/content/examples/pipes/src/app/birthday-formatting.component.ts b/adev/src/content/examples/pipes/src/app/birthday-formatting.component.ts
index ba2c903fd4e0c..9e9543cca318c 100644
--- a/adev/src/content/examples/pipes/src/app/birthday-formatting.component.ts
+++ b/adev/src/content/examples/pipes/src/app/birthday-formatting.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {DatePipe} from '@angular/common';
@Component({
- standalone: true,
selector: 'app-birthday-formatting',
templateUrl: './birthday-formatting.component.html',
imports: [DatePipe],
diff --git a/adev/src/content/examples/pipes/src/app/birthday-pipe-chaining.component.ts b/adev/src/content/examples/pipes/src/app/birthday-pipe-chaining.component.ts
index 9f8085e89768c..035a80980af3b 100644
--- a/adev/src/content/examples/pipes/src/app/birthday-pipe-chaining.component.ts
+++ b/adev/src/content/examples/pipes/src/app/birthday-pipe-chaining.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {DatePipe, UpperCasePipe} from '@angular/common';
@Component({
- standalone: true,
selector: 'app-birthday-pipe-chaining',
templateUrl: './birthday-pipe-chaining.component.html',
imports: [DatePipe, UpperCasePipe],
diff --git a/adev/src/content/examples/pipes/src/app/birthday.component.ts b/adev/src/content/examples/pipes/src/app/birthday.component.ts
index d4469c0640ee6..ce96fb1cc151a 100644
--- a/adev/src/content/examples/pipes/src/app/birthday.component.ts
+++ b/adev/src/content/examples/pipes/src/app/birthday.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {DatePipe} from '@angular/common';
@Component({
- standalone: true,
selector: 'app-birthday',
templateUrl: './birthday.component.html',
imports: [DatePipe],
diff --git a/adev/src/content/examples/pipes/src/app/exponential-strength.pipe.ts b/adev/src/content/examples/pipes/src/app/exponential-strength.pipe.ts
index fc4515af22bbe..1aa1fee76b3a4 100644
--- a/adev/src/content/examples/pipes/src/app/exponential-strength.pipe.ts
+++ b/adev/src/content/examples/pipes/src/app/exponential-strength.pipe.ts
@@ -10,7 +10,6 @@ import {Pipe, PipeTransform} from '@angular/core';
*/
// #docregion pipe-class
@Pipe({
- standalone: true,
name: 'exponentialStrength',
})
export class ExponentialStrengthPipe implements PipeTransform {
diff --git a/adev/src/content/examples/pipes/src/app/flying-heroes.component.ts b/adev/src/content/examples/pipes/src/app/flying-heroes.component.ts
index 4fe8122723720..2abba0ffab84f 100644
--- a/adev/src/content/examples/pipes/src/app/flying-heroes.component.ts
+++ b/adev/src/content/examples/pipes/src/app/flying-heroes.component.ts
@@ -8,7 +8,6 @@ import {FlyingHeroesPipe, FlyingHeroesImpurePipe} from './flying-heroes.pipe';
import {HEROES} from './heroes';
@Component({
- standalone: true,
selector: 'app-flying-heroes',
templateUrl: './flying-heroes.component.html',
imports: [CommonModule, FormsModule, FlyingHeroesPipe],
@@ -63,7 +62,6 @@ export class FlyingHeroesComponent {
////// Identical except for impure pipe //////
@Component({
- standalone: true,
selector: 'app-flying-heroes-impure',
templateUrl: './flying-heroes-impure.component.html',
imports: [CommonModule, FormsModule, FlyingHeroesImpurePipe],
diff --git a/adev/src/content/examples/pipes/src/app/flying-heroes.pipe.ts b/adev/src/content/examples/pipes/src/app/flying-heroes.pipe.ts
index 0ef9d759302ef..278964d6d5e99 100644
--- a/adev/src/content/examples/pipes/src/app/flying-heroes.pipe.ts
+++ b/adev/src/content/examples/pipes/src/app/flying-heroes.pipe.ts
@@ -5,7 +5,6 @@ import {Pipe, PipeTransform} from '@angular/core';
import {Hero} from './heroes';
@Pipe({
- standalone: true,
name: 'flyingHeroes',
})
export class FlyingHeroesPipe implements PipeTransform {
@@ -21,7 +20,6 @@ export class FlyingHeroesPipe implements PipeTransform {
// #docregion impure
// #docregion pipe-decorator
@Pipe({
- standalone: true,
name: 'flyingHeroesImpure',
pure: false,
})
diff --git a/adev/src/content/examples/pipes/src/app/hero-async-message.component.ts b/adev/src/content/examples/pipes/src/app/hero-async-message.component.ts
index 05912f748da23..c5d7f8ffd559a 100644
--- a/adev/src/content/examples/pipes/src/app/hero-async-message.component.ts
+++ b/adev/src/content/examples/pipes/src/app/hero-async-message.component.ts
@@ -5,7 +5,6 @@ import {Observable, interval} from 'rxjs';
import {map, startWith, take} from 'rxjs/operators';
@Component({
- standalone: true,
selector: 'app-hero-async-message',
template: `
Async Messages and AsyncPipe
diff --git a/adev/src/content/examples/pipes/src/app/json-pipe.component.ts b/adev/src/content/examples/pipes/src/app/json-pipe.component.ts
index aa903f8012e09..09f9c19f038da 100644
--- a/adev/src/content/examples/pipes/src/app/json-pipe.component.ts
+++ b/adev/src/content/examples/pipes/src/app/json-pipe.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {JsonPipe} from '@angular/common';
@Component({
- standalone: true,
selector: 'app-json-pipe',
template: `{{ data | json }}`,
imports: [JsonPipe],
diff --git a/adev/src/content/examples/pipes/src/app/power-booster.component.ts b/adev/src/content/examples/pipes/src/app/power-booster.component.ts
index cc85785c03453..73d9839c74c3b 100644
--- a/adev/src/content/examples/pipes/src/app/power-booster.component.ts
+++ b/adev/src/content/examples/pipes/src/app/power-booster.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {ExponentialStrengthPipe} from './exponential-strength.pipe';
@Component({
- standalone: true,
selector: 'app-power-booster',
template: `
Power Booster
diff --git a/adev/src/content/examples/pipes/src/app/precedence.component.ts b/adev/src/content/examples/pipes/src/app/precedence.component.ts
index 66fe0fcb92b67..20bf24c12de3d 100644
--- a/adev/src/content/examples/pipes/src/app/precedence.component.ts
+++ b/adev/src/content/examples/pipes/src/app/precedence.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {UpperCasePipe} from '@angular/common';
@Component({
- standalone: true,
selector: 'app-pipe-precedence',
templateUrl: './precedence.component.html',
imports: [UpperCasePipe],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/app.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/app.component.ts
index 0beac8c66793b..d8d543a21ed74 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/app.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/app.component.ts
@@ -10,7 +10,6 @@ import {SelfNoDataComponent} from './self-no-data/self-no-data.component';
import {SkipselfComponent} from './skipself/skipself.component';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/host-child/host-child.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/host-child/host-child.component.ts
index 2e00c80455af3..9c1aab4b3ca57 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/host-child/host-child.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/host-child/host-child.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {FlowerService} from '../flower.service';
@Component({
- standalone: true,
selector: 'app-host-child',
templateUrl: './host-child.component.html',
styleUrls: ['./host-child.component.css'],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/host-parent/host-parent.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/host-parent/host-parent.component.ts
index c61f27ab26a63..fa07596a10274 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/host-parent/host-parent.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/host-parent/host-parent.component.ts
@@ -3,7 +3,6 @@ import {FlowerService} from '../flower.service';
import {HostComponent} from '../host/host.component';
@Component({
- standalone: true,
selector: 'app-host-parent',
templateUrl: './host-parent.component.html',
styleUrls: ['./host-parent.component.css'],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/host/host.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/host/host.component.ts
index c3dfaf588ebb5..48bb6c25be2b9 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/host/host.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/host/host.component.ts
@@ -4,7 +4,6 @@ import {HostChildComponent} from '../host-child/host-child.component';
// #docregion host-component
@Component({
- standalone: true,
selector: 'app-host',
templateUrl: './host.component.html',
styleUrls: ['./host.component.css'],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/optional/optional.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/optional/optional.component.ts
index 87736692040df..aaf3b36f2214e 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/optional/optional.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/optional/optional.component.ts
@@ -2,7 +2,6 @@ import {Component, Optional} from '@angular/core';
import {OptionalService} from '../optional.service';
@Component({
- standalone: true,
selector: 'app-optional',
templateUrl: './optional.component.html',
styleUrls: ['./optional.component.css'],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/self-no-data/self-no-data.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/self-no-data/self-no-data.component.ts
index 44e812189a4fe..b6673bfa4e847 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/self-no-data/self-no-data.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/self-no-data/self-no-data.component.ts
@@ -3,7 +3,6 @@ import {LeafService} from '../leaf.service';
// #docregion self-no-data-component
@Component({
- standalone: true,
selector: 'app-self-no-data',
templateUrl: './self-no-data.component.html',
styleUrls: ['./self-no-data.component.css'],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/self/self.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/self/self.component.ts
index 0b32510957b34..ec0e8b3bc1357 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/self/self.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/self/self.component.ts
@@ -3,7 +3,6 @@ import {FlowerService} from '../flower.service';
// #docregion self-component
@Component({
- standalone: true,
selector: 'app-self',
templateUrl: './self.component.html',
styleUrls: ['./self.component.css'],
diff --git a/adev/src/content/examples/resolution-modifiers/src/app/skipself/skipself.component.ts b/adev/src/content/examples/resolution-modifiers/src/app/skipself/skipself.component.ts
index e6dc7f56517b1..0f663c65ff8b6 100755
--- a/adev/src/content/examples/resolution-modifiers/src/app/skipself/skipself.component.ts
+++ b/adev/src/content/examples/resolution-modifiers/src/app/skipself/skipself.component.ts
@@ -3,7 +3,6 @@ import {LeafService} from '../leaf.service';
// #docregion skipself-component
@Component({
- standalone: true,
selector: 'app-skipself',
templateUrl: './skipself.component.html',
styleUrls: ['./skipself.component.css'],
diff --git a/adev/src/content/examples/router-tutorial/src/app/app.component.ts b/adev/src/content/examples/router-tutorial/src/app/app.component.ts
index 9e243014f6c95..30d8424ecd3e0 100644
--- a/adev/src/content/examples/router-tutorial/src/app/app.component.ts
+++ b/adev/src/content/examples/router-tutorial/src/app/app.component.ts
@@ -6,7 +6,6 @@ import {HeroesListComponent} from './heroes-list/heroes-list.component';
@Component({
selector: 'app-root',
- standalone: true,
imports: [RouterOutlet, RouterLink, RouterLinkActive, CrisisListComponent, HeroesListComponent],
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
diff --git a/adev/src/content/examples/router-tutorial/src/app/crisis-list/crisis-list.component.ts b/adev/src/content/examples/router-tutorial/src/app/crisis-list/crisis-list.component.ts
index a881614918afc..f4a8cad2792cd 100644
--- a/adev/src/content/examples/router-tutorial/src/app/crisis-list/crisis-list.component.ts
+++ b/adev/src/content/examples/router-tutorial/src/app/crisis-list/crisis-list.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
@Component({
selector: 'app-crisis-list',
- standalone: true,
templateUrl: './crisis-list.component.html',
styleUrls: ['./crisis-list.component.css'],
})
diff --git a/adev/src/content/examples/router-tutorial/src/app/heroes-list/heroes-list.component.ts b/adev/src/content/examples/router-tutorial/src/app/heroes-list/heroes-list.component.ts
index 2c24cd37bb5ed..2532b1dbde16f 100644
--- a/adev/src/content/examples/router-tutorial/src/app/heroes-list/heroes-list.component.ts
+++ b/adev/src/content/examples/router-tutorial/src/app/heroes-list/heroes-list.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
@Component({
selector: 'app-heroes-list',
- standalone: true,
templateUrl: './heroes-list.component.html',
styleUrls: ['./heroes-list.component.css'],
})
diff --git a/adev/src/content/examples/router-tutorial/src/app/page-not-found/page-not-found.component.ts b/adev/src/content/examples/router-tutorial/src/app/page-not-found/page-not-found.component.ts
index e7c7cd7b9f7c4..e2abef1049d86 100644
--- a/adev/src/content/examples/router-tutorial/src/app/page-not-found/page-not-found.component.ts
+++ b/adev/src/content/examples/router-tutorial/src/app/page-not-found/page-not-found.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
@Component({
selector: 'app-page-not-found',
- standalone: true,
templateUrl: './page-not-found.component.html',
styleUrls: ['./page-not-found.component.css'],
})
diff --git a/adev/src/content/examples/routing-with-urlmatcher/src/app/app.component.ts b/adev/src/content/examples/routing-with-urlmatcher/src/app/app.component.ts
index 7b7557685bf99..63f160651ad10 100644
--- a/adev/src/content/examples/routing-with-urlmatcher/src/app/app.component.ts
+++ b/adev/src/content/examples/routing-with-urlmatcher/src/app/app.component.ts
@@ -3,7 +3,6 @@ import {RouterLink, RouterOutlet} from '@angular/router';
@Component({
selector: 'app-root',
- standalone: true,
imports: [RouterOutlet, RouterLink],
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
diff --git a/adev/src/content/examples/routing-with-urlmatcher/src/app/profile/profile.component.ts b/adev/src/content/examples/routing-with-urlmatcher/src/app/profile/profile.component.ts
index 2eff47d50431d..2cfb4723a8bab 100644
--- a/adev/src/content/examples/routing-with-urlmatcher/src/app/profile/profile.component.ts
+++ b/adev/src/content/examples/routing-with-urlmatcher/src/app/profile/profile.component.ts
@@ -2,7 +2,6 @@ import {Component, Input} from '@angular/core';
@Component({
selector: 'app-profile',
- standalone: true,
templateUrl: './profile.component.html',
styleUrls: ['./profile.component.css'],
})
diff --git a/adev/src/content/examples/security/src/app/app.component.ts b/adev/src/content/examples/security/src/app/app.component.ts
index 178f2c6e6179d..c28b1b41db5ec 100644
--- a/adev/src/content/examples/security/src/app/app.component.ts
+++ b/adev/src/content/examples/security/src/app/app.component.ts
@@ -4,7 +4,6 @@ import {BypassSecurityComponent} from './bypass-security.component';
import {InnerHtmlBindingComponent} from './inner-html-binding.component';
@Component({
- standalone: true,
selector: 'app-root',
template: `
Security
diff --git a/adev/src/content/examples/security/src/app/bypass-security.component.ts b/adev/src/content/examples/security/src/app/bypass-security.component.ts
index 2b25aec9d4285..9c76c41a88eb6 100644
--- a/adev/src/content/examples/security/src/app/bypass-security.component.ts
+++ b/adev/src/content/examples/security/src/app/bypass-security.component.ts
@@ -4,7 +4,6 @@ import {Component} from '@angular/core';
import {DomSanitizer, SafeResourceUrl, SafeUrl} from '@angular/platform-browser';
@Component({
- standalone: true,
selector: 'app-bypass-security',
templateUrl: './bypass-security.component.html',
})
diff --git a/adev/src/content/examples/security/src/app/inner-html-binding.component.ts b/adev/src/content/examples/security/src/app/inner-html-binding.component.ts
index 8728200a866d8..d7074fbe66c43 100644
--- a/adev/src/content/examples/security/src/app/inner-html-binding.component.ts
+++ b/adev/src/content/examples/security/src/app/inner-html-binding.component.ts
@@ -2,7 +2,6 @@
import {Component} from '@angular/core';
@Component({
- standalone: true,
selector: 'app-inner-html-binding',
templateUrl: './inner-html-binding.component.html',
})
diff --git a/adev/src/content/examples/service-worker-getting-started/src/app/app.component.ts b/adev/src/content/examples/service-worker-getting-started/src/app/app.component.ts
index 68a74dedadeb1..edfebdb17edf2 100755
--- a/adev/src/content/examples/service-worker-getting-started/src/app/app.component.ts
+++ b/adev/src/content/examples/service-worker-getting-started/src/app/app.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {SwUpdate} from '@angular/service-worker';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
})
diff --git a/adev/src/content/examples/ssr/src/app/app.component.ts b/adev/src/content/examples/ssr/src/app/app.component.ts
index 899b39e374cb0..9ef13f6543c40 100644
--- a/adev/src/content/examples/ssr/src/app/app.component.ts
+++ b/adev/src/content/examples/ssr/src/app/app.component.ts
@@ -7,7 +7,6 @@ import {isPlatformBrowser} from '@angular/common';
import {MessagesComponent} from './messages/messages.component';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
imports: [RouterLink, RouterOutlet, MessagesComponent],
diff --git a/adev/src/content/examples/ssr/src/app/dashboard/dashboard.component.ts b/adev/src/content/examples/ssr/src/app/dashboard/dashboard.component.ts
index b866f581db7bf..54a087a190bbd 100644
--- a/adev/src/content/examples/ssr/src/app/dashboard/dashboard.component.ts
+++ b/adev/src/content/examples/ssr/src/app/dashboard/dashboard.component.ts
@@ -7,7 +7,6 @@ import {HeroSearchComponent} from '../hero-search/hero-search.component';
import {HeroService} from '../hero.service';
@Component({
- standalone: true,
selector: 'app-dashboard',
templateUrl: './dashboard.component.html',
imports: [NgFor, RouterLink, HeroSearchComponent],
diff --git a/adev/src/content/examples/ssr/src/app/hero-detail/hero-detail.component.ts b/adev/src/content/examples/ssr/src/app/hero-detail/hero-detail.component.ts
index 43b2ca0e32f56..47317a8d01506 100644
--- a/adev/src/content/examples/ssr/src/app/hero-detail/hero-detail.component.ts
+++ b/adev/src/content/examples/ssr/src/app/hero-detail/hero-detail.component.ts
@@ -7,7 +7,6 @@ import {Hero} from '../hero';
import {HeroService} from '../hero.service';
@Component({
- standalone: true,
selector: 'app-hero-detail',
templateUrl: './hero-detail.component.html',
imports: [FormsModule, NgIf, UpperCasePipe],
diff --git a/adev/src/content/examples/ssr/src/app/hero-search/hero-search.component.ts b/adev/src/content/examples/ssr/src/app/hero-search/hero-search.component.ts
index a94d15bcdd324..93e44498b2620 100644
--- a/adev/src/content/examples/ssr/src/app/hero-search/hero-search.component.ts
+++ b/adev/src/content/examples/ssr/src/app/hero-search/hero-search.component.ts
@@ -10,7 +10,6 @@ import {Hero} from '../hero';
import {HeroService} from '../hero.service';
@Component({
- standalone: true,
selector: 'app-hero-search',
templateUrl: './hero-search.component.html',
imports: [AsyncPipe, NgFor, RouterLink],
diff --git a/adev/src/content/examples/ssr/src/app/heroes/heroes.component.ts b/adev/src/content/examples/ssr/src/app/heroes/heroes.component.ts
index f792c9508d80a..1acfac781539d 100644
--- a/adev/src/content/examples/ssr/src/app/heroes/heroes.component.ts
+++ b/adev/src/content/examples/ssr/src/app/heroes/heroes.component.ts
@@ -6,7 +6,6 @@ import {Hero} from '../hero';
import {HeroService} from '../hero.service';
@Component({
- standalone: true,
selector: 'app-heroes',
templateUrl: './heroes.component.html',
imports: [NgFor, RouterLink],
diff --git a/adev/src/content/examples/ssr/src/app/messages/messages.component.ts b/adev/src/content/examples/ssr/src/app/messages/messages.component.ts
index 6f2ce99aa331a..d6fb9c6e3cde7 100644
--- a/adev/src/content/examples/ssr/src/app/messages/messages.component.ts
+++ b/adev/src/content/examples/ssr/src/app/messages/messages.component.ts
@@ -4,7 +4,6 @@ import {NgFor, NgIf} from '@angular/common';
import {MessageService} from '../message.service';
@Component({
- standalone: true,
selector: 'app-messages',
templateUrl: './messages.component.html',
imports: [NgFor, NgIf],
diff --git a/adev/src/content/examples/structural-directives/src/app/app.component.ts b/adev/src/content/examples/structural-directives/src/app/app.component.ts
index 118c55bc903ca..5d19624123237 100644
--- a/adev/src/content/examples/structural-directives/src/app/app.component.ts
+++ b/adev/src/content/examples/structural-directives/src/app/app.component.ts
@@ -10,7 +10,6 @@ import {TrigonometryDirective} from './trigonometry.directive';
import {Hero, heroes} from './hero';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
diff --git a/adev/src/content/examples/structural-directives/src/app/hero-switch.components.ts b/adev/src/content/examples/structural-directives/src/app/hero-switch.components.ts
index 5fcb6477e0475..c97e15b212790 100644
--- a/adev/src/content/examples/structural-directives/src/app/hero-switch.components.ts
+++ b/adev/src/content/examples/structural-directives/src/app/hero-switch.components.ts
@@ -3,7 +3,6 @@ import {Component, Input} from '@angular/core';
import {Hero} from './hero';
@Component({
- standalone: true,
selector: 'app-happy-hero',
template: 'Wow. You like {{hero.name}}. What a happy hero ... just like you.',
})
@@ -12,7 +11,6 @@ export class HappyHeroComponent {
}
@Component({
- standalone: true,
selector: 'app-sad-hero',
template: 'You like {{hero.name}}? Such a sad hero. Are you sad too?',
})
@@ -21,7 +19,6 @@ export class SadHeroComponent {
}
@Component({
- standalone: true,
selector: 'app-confused-hero',
template: 'Are you as confused as {{hero.name}}?',
})
@@ -30,7 +27,6 @@ export class ConfusedHeroComponent {
}
@Component({
- standalone: true,
selector: 'app-unknown-hero',
template: '{{message}}',
})
diff --git a/adev/src/content/examples/structural-directives/src/app/hero.component.ts b/adev/src/content/examples/structural-directives/src/app/hero.component.ts
index f724dedf99eca..038037e7c12cd 100644
--- a/adev/src/content/examples/structural-directives/src/app/hero.component.ts
+++ b/adev/src/content/examples/structural-directives/src/app/hero.component.ts
@@ -7,7 +7,6 @@ import {LoadingState} from './loading-state';
import {Hero, heroes} from './hero';
@Component({
- standalone: true,
selector: 'app-hero',
template: `
Load Hero
diff --git a/adev/src/content/examples/structural-directives/src/app/if-loaded.directive.ts b/adev/src/content/examples/structural-directives/src/app/if-loaded.directive.ts
index 3d103c8b09fb3..3225acb0ad2f2 100644
--- a/adev/src/content/examples/structural-directives/src/app/if-loaded.directive.ts
+++ b/adev/src/content/examples/structural-directives/src/app/if-loaded.directive.ts
@@ -3,7 +3,6 @@ import {Directive, Input, TemplateRef, ViewContainerRef} from '@angular/core';
import {Loaded, LoadingState} from './loading-state';
@Directive({
- standalone: true,
selector: '[appIfLoaded]',
})
export class IfLoadedDirective
{
diff --git a/adev/src/content/examples/structural-directives/src/app/trigonometry.directive.ts b/adev/src/content/examples/structural-directives/src/app/trigonometry.directive.ts
index a7a425a585734..415e1a082b90e 100644
--- a/adev/src/content/examples/structural-directives/src/app/trigonometry.directive.ts
+++ b/adev/src/content/examples/structural-directives/src/app/trigonometry.directive.ts
@@ -1,7 +1,6 @@
import {Directive, Input, TemplateRef, ViewContainerRef} from '@angular/core';
@Directive({
- standalone: true,
selector: '[appTrigonometry]',
})
export class TrigonometryDirective {
diff --git a/adev/src/content/examples/structural-directives/src/app/unless.directive.ts b/adev/src/content/examples/structural-directives/src/app/unless.directive.ts
index 8c97a543376fe..0d5b9b56a12c9 100644
--- a/adev/src/content/examples/structural-directives/src/app/unless.directive.ts
+++ b/adev/src/content/examples/structural-directives/src/app/unless.directive.ts
@@ -25,7 +25,6 @@ import {Directive, Input, TemplateRef, ViewContainerRef} from '@angular/core';
*/
// #docregion skeleton
@Directive({
- standalone: true,
selector: '[appUnless]',
})
export class UnlessDirective {
diff --git a/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.avoid.ts b/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.avoid.ts
index 4b614667cc8d4..7273aff6916d2 100644
--- a/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.avoid.ts
@@ -5,7 +5,6 @@ import {Component} from '@angular/core';
// HeroComponent is in the Tour of Heroes feature
@Component({
- standalone: true,
selector: 'hero',
template: '',
})
diff --git a/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.ts b/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.ts
index d56ebb24f08d8..4ea1f39c707ad 100644
--- a/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.ts
+++ b/adev/src/content/examples/styleguide/src/02-07/app/heroes/hero.component.ts
@@ -7,7 +7,6 @@ import {Component} from '@angular/core';
// #enddocregion example
template: 'hero component
',
// #docregion example
- standalone: true,
selector: 'toh-hero',
})
export class HeroComponent {}
diff --git a/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.avoid.ts b/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.avoid.ts
index 4af291b697feb..95377d5c9472a 100644
--- a/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.avoid.ts
@@ -5,7 +5,6 @@ import {Component} from '@angular/core';
// UsersComponent is in an Admin feature
@Component({
- standalone: true,
selector: 'users',
template: '',
})
diff --git a/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.ts b/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.ts
index 1b97cd235f7ec..ea6fab20b716a 100644
--- a/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.ts
+++ b/adev/src/content/examples/styleguide/src/02-07/app/users/users.component.ts
@@ -7,7 +7,6 @@ import {Component} from '@angular/core';
// #enddocregion example
template: 'users component
',
// #docregion example
- standalone: true,
selector: 'admin-users',
})
export class UsersComponent {}
diff --git a/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.avoid.ts b/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.avoid.ts
index 6e03aa700c03f..04609a8d14d10 100644
--- a/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.avoid.ts
@@ -4,7 +4,6 @@ import {Directive} from '@angular/core';
/* avoid */
@Directive({
- standalone: true,
selector: '[validate]',
})
export class ValidateDirective {}
diff --git a/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.ts b/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.ts
index 31da1a802556c..6c312ebdac45d 100644
--- a/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.ts
+++ b/adev/src/content/examples/styleguide/src/02-08/app/shared/validate.directive.ts
@@ -3,7 +3,6 @@ import {Directive} from '@angular/core';
// #docregion example
@Directive({
- standalone: true,
selector: '[tohValidate]',
})
export class ValidateDirective {}
diff --git a/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.avoid.ts
index 9b0d28091a4af..46ba948a57250 100644
--- a/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.avoid.ts
@@ -4,7 +4,6 @@ import {Component} from '@angular/core';
/* avoid */
@Component({
- standalone: true,
selector: 'tohHeroButton',
templateUrl: './hero-button.component.html',
})
diff --git a/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.ts b/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.ts
index 79d76f960c899..7483682faaa60 100644
--- a/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-02/app/heroes/shared/hero-button/hero-button.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero-button',
templateUrl: './hero-button.component.html',
})
diff --git a/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.avoid.ts
index d639470c002c9..3d83194b8b47e 100644
--- a/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.avoid.ts
@@ -3,7 +3,6 @@ import {Component} from '@angular/core';
/* avoid */
@Component({
- standalone: true,
selector: '[tohHeroButton]',
templateUrl: './hero-button.component.html',
})
diff --git a/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.ts b/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.ts
index 79d76f960c899..7483682faaa60 100644
--- a/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-03/app/heroes/shared/hero-button/hero-button.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero-button',
templateUrl: './hero-button.component.html',
})
diff --git a/adev/src/content/examples/styleguide/src/05-04/app/app.component.ts b/adev/src/content/examples/styleguide/src/05-04/app/app.component.ts
index 680c08dd7fc51..988207cfdb3a4 100644
--- a/adev/src/content/examples/styleguide/src/05-04/app/app.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-04/app/app.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {HeroesComponent} from './heroes';
@Component({
- standalone: true,
selector: 'sg-app',
template: ' ',
imports: [HeroesComponent],
diff --git a/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.avoid.ts
index 8f7cd9d23ddbe..66752917c0d60 100644
--- a/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.avoid.ts
@@ -8,7 +8,6 @@ import {AsyncPipe, NgFor, NgIf, UpperCasePipe} from '@angular/common';
/* avoid */
@Component({
- standalone: true,
selector: 'toh-heroes',
template: `
diff --git a/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.ts b/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.ts
index 58fc3c3d774f0..fa81333a57d75 100644
--- a/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-04/app/heroes/heroes.component.ts
@@ -6,7 +6,6 @@ import {AsyncPipe, NgFor, NgIf, UpperCasePipe} from '@angular/common';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-heroes',
templateUrl: './heroes.component.html',
styleUrls: ['./heroes.component.css'],
diff --git a/adev/src/content/examples/styleguide/src/05-12/app/app.component.ts b/adev/src/content/examples/styleguide/src/05-12/app/app.component.ts
index 51ece31376683..a1d61fc994696 100644
--- a/adev/src/content/examples/styleguide/src/05-12/app/app.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-12/app/app.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
import {HeroButtonComponent} from './heroes/shared/hero-button/hero-button.component';
@Component({
- standalone: true,
selector: 'sg-app',
template: '
',
imports: [HeroButtonComponent],
diff --git a/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.avoid.ts
index 8c7df185dba60..c26fcf9a55e54 100644
--- a/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.avoid.ts
@@ -4,7 +4,6 @@ import {Component, EventEmitter} from '@angular/core';
/* avoid */
@Component({
- standalone: true,
selector: 'toh-hero-button',
template: `
`,
inputs: ['label'],
diff --git a/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.ts b/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.ts
index 0b758f6aa6e7c..d94cca3a100e9 100644
--- a/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-12/app/heroes/shared/hero-button/hero-button.component.ts
@@ -3,7 +3,6 @@ import {Component, EventEmitter, Input, Output} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero-button',
template: `
{{label}} `,
})
diff --git a/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.avoid.ts
index 5c6c0a695cb81..bd22db3124a79 100644
--- a/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.avoid.ts
@@ -3,7 +3,6 @@ import {Component, EventEmitter, Input, Output} from '@angular/core';
/* avoid pointless aliasing */
@Component({
- standalone: true,
selector: 'toh-hero-button',
template: `
{{label}} `,
})
diff --git a/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.ts b/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.ts
index ddbc69e621707..0f0d52ed038d3 100644
--- a/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-button/hero-button.component.ts
@@ -3,7 +3,6 @@ import {Component, EventEmitter, Input, Output} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero-button',
template: `
{{label}} `,
})
diff --git a/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-highlight.directive.ts b/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-highlight.directive.ts
index 7e4f4530501e0..90c32cd3dfd4d 100644
--- a/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-highlight.directive.ts
+++ b/adev/src/content/examples/styleguide/src/05-13/app/heroes/shared/hero-highlight.directive.ts
@@ -3,7 +3,6 @@ import {Directive, ElementRef, Input, OnChanges} from '@angular/core';
// eslint-disable-next-line @angular-eslint/directive-selector
@Directive({
- standalone: true,
selector: '[heroHighlight]',
})
export class HeroHighlightDirective implements OnChanges {
diff --git a/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.avoid.ts
index 46323fa8ac74f..8235a109343d1 100644
--- a/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.avoid.ts
@@ -12,7 +12,6 @@ import {Hero} from '../shared/hero.model';
const heroesUrl = 'http://angular.io';
@Component({
- standalone: true,
selector: 'toh-hero-list',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.ts b/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.ts
index d8eecec4914a4..145de21efa9ab 100644
--- a/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-15/app/heroes/hero-list/hero-list.component.ts
@@ -4,7 +4,6 @@ import {Component, OnInit} from '@angular/core';
import {Hero, HeroService} from '../shared';
@Component({
- standalone: true,
selector: 'toh-hero-list',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.avoid.ts
index 8db45242cdf57..9cb3ce9137fe1 100644
--- a/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.avoid.ts
@@ -4,7 +4,6 @@ import {Component, EventEmitter, Output} from '@angular/core';
/* avoid */
@Component({
- standalone: true,
selector: 'toh-hero',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.ts b/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.ts
index befdc8f16ae9e..eb03ff280bd6e 100644
--- a/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-16/app/heroes/hero.component.ts
@@ -2,7 +2,6 @@
import {Component, EventEmitter, Output} from '@angular/core';
@Component({
- standalone: true,
selector: 'toh-hero',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.avoid.ts
index d5dedddf94754..8e4586c701f99 100644
--- a/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.avoid.ts
@@ -9,7 +9,6 @@ import {HeroComponent} from '../hero/hero.component';
/* avoid */
@Component({
- standalone: true,
selector: 'toh-hero-list',
template: `
diff --git a/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.ts b/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.ts
index 0508c1af879d2..6b045458cd0e5 100644
--- a/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero-list/hero-list.component.ts
@@ -7,7 +7,6 @@ import {NgFor} from '@angular/common';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero-list',
template: `
diff --git a/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero/hero.component.ts b/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero/hero.component.ts
index ebe6af89e99f7..8ca9dfa92a80b 100644
--- a/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero/hero.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-17/app/heroes/hero/hero.component.ts
@@ -3,7 +3,6 @@ import {Component, Input} from '@angular/core';
import {Hero} from '../shared/hero.model';
@Component({
- standalone: true,
selector: 'toh-hero',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.avoid.ts b/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.avoid.ts
index c95b6df026b08..8c1aba9af134a 100644
--- a/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.avoid.ts
@@ -2,7 +2,6 @@ import {Component, Input} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.optional.ts b/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.optional.ts
index 46e1569d90c87..afb4587f4ac98 100644
--- a/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.optional.ts
+++ b/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.optional.ts
@@ -2,7 +2,6 @@ import {Component, Input} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.ts b/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.ts
index 4fee1f7502c37..c8132e8b1f20b 100644
--- a/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.ts
+++ b/adev/src/content/examples/styleguide/src/05-18/app/heroes/hero/hero.component.ts
@@ -2,7 +2,6 @@ import {Component, Input} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero',
template: `...`,
})
diff --git a/adev/src/content/examples/styleguide/src/06-01/app/shared/highlight.directive.ts b/adev/src/content/examples/styleguide/src/06-01/app/shared/highlight.directive.ts
index 3253896ec3bed..d5c2715550214 100644
--- a/adev/src/content/examples/styleguide/src/06-01/app/shared/highlight.directive.ts
+++ b/adev/src/content/examples/styleguide/src/06-01/app/shared/highlight.directive.ts
@@ -3,7 +3,6 @@ import {Directive, HostListener} from '@angular/core';
// #docregion example
@Directive({
- standalone: true,
selector: '[tohHighlight]',
})
export class HighlightDirective {
diff --git a/adev/src/content/examples/styleguide/src/06-03/app/shared/validator.directive.ts b/adev/src/content/examples/styleguide/src/06-03/app/shared/validator.directive.ts
index fa5529574ad61..ca860b81c3048 100644
--- a/adev/src/content/examples/styleguide/src/06-03/app/shared/validator.directive.ts
+++ b/adev/src/content/examples/styleguide/src/06-03/app/shared/validator.directive.ts
@@ -2,7 +2,6 @@
import {Directive, HostBinding, HostListener} from '@angular/core';
@Directive({
- standalone: true,
selector: '[tohValidator]',
})
export class ValidatorDirective {
diff --git a/adev/src/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts b/adev/src/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts
index 7a8511871d5ec..0c89fa53c0f30 100644
--- a/adev/src/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts
+++ b/adev/src/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts
@@ -3,7 +3,6 @@
import {Directive} from '@angular/core';
@Directive({
- standalone: true,
selector: '[tohValidator2]',
host: {
'[attr.role]': 'role',
diff --git a/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.avoid.ts b/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.avoid.ts
index c6eff50828fe3..620cce4e1c503 100644
--- a/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.avoid.ts
+++ b/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.avoid.ts
@@ -4,7 +4,6 @@ import {Component} from '@angular/core';
/* avoid */
@Component({
- standalone: true,
selector: 'toh-hero-button',
template: `OK `,
})
diff --git a/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.ts b/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.ts
index eae707f906e74..78d3f2e481119 100644
--- a/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.ts
+++ b/adev/src/content/examples/styleguide/src/09-01/app/heroes/shared/hero-button/hero-button.component.ts
@@ -3,7 +3,6 @@ import {Component, OnInit} from '@angular/core';
// #docregion example
@Component({
- standalone: true,
selector: 'toh-hero-button',
template: `OK `,
})
diff --git a/adev/src/content/examples/testing/src/app/about/about.component.ts b/adev/src/content/examples/testing/src/app/about/about.component.ts
index 8a4a41ead7efd..b49431c55e45d 100755
--- a/adev/src/content/examples/testing/src/app/about/about.component.ts
+++ b/adev/src/content/examples/testing/src/app/about/about.component.ts
@@ -5,7 +5,6 @@ import {HighlightDirective} from '../shared/highlight.directive';
import {TwainComponent} from '../twain/twain.component';
@Component({
- standalone: true,
template: `
About
Quote of the day:
diff --git a/adev/src/content/examples/testing/src/app/app-initial.component.ts b/adev/src/content/examples/testing/src/app/app-initial.component.ts
index 41cb9b8f036c0..599733145a4aa 100755
--- a/adev/src/content/examples/testing/src/app/app-initial.component.ts
+++ b/adev/src/content/examples/testing/src/app/app-initial.component.ts
@@ -3,7 +3,6 @@
import {Component} from '@angular/core';
@Component({
- standalone: true,
selector: 'app-root',
template: 'Welcome to {{title}}! ',
})
diff --git a/adev/src/content/examples/testing/src/app/app.component.spec.ts b/adev/src/content/examples/testing/src/app/app.component.spec.ts
index d31d1a5d89dd5..6819f96c9f219 100755
--- a/adev/src/content/examples/testing/src/app/app.component.spec.ts
+++ b/adev/src/content/examples/testing/src/app/app.component.spec.ts
@@ -9,13 +9,13 @@ import {appConfig} from './app.config';
import {UserService} from './model';
// #docregion component-stubs
-@Component({standalone: true, selector: 'app-banner', template: ''})
+@Component({selector: 'app-banner', template: ''})
class BannerStubComponent {}
-@Component({standalone: true, selector: 'router-outlet', template: ''})
+@Component({selector: 'router-outlet', template: ''})
class RouterOutletStubComponent {}
-@Component({standalone: true, selector: 'app-welcome', template: ''})
+@Component({selector: 'app-welcome', template: ''})
class WelcomeStubComponent {}
// #enddocregion component-stubs
diff --git a/adev/src/content/examples/testing/src/app/app.component.ts b/adev/src/content/examples/testing/src/app/app.component.ts
index 99e02cf8bb6cf..4d723ad0e9fa9 100755
--- a/adev/src/content/examples/testing/src/app/app.component.ts
+++ b/adev/src/content/examples/testing/src/app/app.component.ts
@@ -6,7 +6,6 @@ import {BannerComponent} from './banner/banner.component';
import {WelcomeComponent} from './welcome/welcome.component';
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
imports: [BannerComponent, WelcomeComponent, RouterOutlet, RouterLink],
diff --git a/adev/src/content/examples/testing/src/app/banner/banner-external.component.ts b/adev/src/content/examples/testing/src/app/banner/banner-external.component.ts
index 1e84ab9203444..72d7ba0ea1836 100755
--- a/adev/src/content/examples/testing/src/app/banner/banner-external.component.ts
+++ b/adev/src/content/examples/testing/src/app/banner/banner-external.component.ts
@@ -4,7 +4,6 @@ import {Component} from '@angular/core';
// #docregion metadata
@Component({
- standalone: true,
selector: 'app-banner',
templateUrl: './banner-external.component.html',
styleUrls: ['./banner-external.component.css'],
diff --git a/adev/src/content/examples/testing/src/app/banner/banner-initial.component.ts b/adev/src/content/examples/testing/src/app/banner/banner-initial.component.ts
index 988628f547f2a..0fc13cc0a697d 100755
--- a/adev/src/content/examples/testing/src/app/banner/banner-initial.component.ts
+++ b/adev/src/content/examples/testing/src/app/banner/banner-initial.component.ts
@@ -3,7 +3,6 @@
import {Component} from '@angular/core';
@Component({
- standalone: true,
selector: 'app-banner',
template: 'banner works!
',
styles: [],
diff --git a/adev/src/content/examples/testing/src/app/banner/banner.component.ts b/adev/src/content/examples/testing/src/app/banner/banner.component.ts
index f15e6f20d389e..b8652d895c125 100755
--- a/adev/src/content/examples/testing/src/app/banner/banner.component.ts
+++ b/adev/src/content/examples/testing/src/app/banner/banner.component.ts
@@ -2,7 +2,6 @@ import {Component, signal} from '@angular/core';
// #docregion component
@Component({
- standalone: true,
selector: 'app-banner',
template: '{{title()}} ',
styles: ['h1 { color: green; font-size: 350%}'],
diff --git a/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.spec.ts b/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.spec.ts
index 032cb1bfd1081..815e2dda79da9 100755
--- a/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.spec.ts
+++ b/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.spec.ts
@@ -144,7 +144,6 @@ import {Component} from '@angular/core';
// #docregion test-host
@Component({
- standalone: true,
imports: [DashboardHeroComponent],
template: ` `,
})
diff --git a/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.ts b/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.ts
index 32609bb61735a..56729b6828d77 100755
--- a/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.ts
+++ b/adev/src/content/examples/testing/src/app/dashboard/dashboard-hero.component.ts
@@ -6,7 +6,6 @@ import {Hero} from '../model/hero';
// #docregion component
@Component({
- standalone: true,
selector: 'dashboard-hero',
template: `
diff --git a/adev/src/content/examples/testing/src/app/dashboard/dashboard.component.ts b/adev/src/content/examples/testing/src/app/dashboard/dashboard.component.ts
index f765aff5193ab..966d49052cf9d 100755
--- a/adev/src/content/examples/testing/src/app/dashboard/dashboard.component.ts
+++ b/adev/src/content/examples/testing/src/app/dashboard/dashboard.component.ts
@@ -9,7 +9,6 @@ import {sharedImports} from '../shared/shared';
import {DashboardHeroComponent} from './dashboard-hero.component';
@Component({
- standalone: true,
selector: 'app-dashboard',
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.css'],
diff --git a/adev/src/content/examples/testing/src/app/demo/demo.testbed.spec.ts b/adev/src/content/examples/testing/src/app/demo/demo.testbed.spec.ts
index b464d18a67771..d5e1444031d97 100755
--- a/adev/src/content/examples/testing/src/app/demo/demo.testbed.spec.ts
+++ b/adev/src/content/examples/testing/src/app/demo/demo.testbed.spec.ts
@@ -452,7 +452,6 @@ describe('demo (with TestBed):', () => {
it("injected provider should not be same as component's provider", () => {
// TestComponent is parent of TestProvidersComponent
@Component({
- standalone: true,
template: ' ',
imports: [TestProvidersComponent],
})
@@ -704,21 +703,18 @@ describe('demo (with TestBed):', () => {
////////// Fakes ///////////
@Component({
- standalone: true,
selector: 'child-1',
template: 'Fake Child',
})
class FakeChildComponent {}
@Component({
- standalone: true,
selector: 'grandchild-1',
template: 'Fake Grandchild',
})
class FakeGrandchildComponent {}
@Component({
- standalone: true,
selector: 'child-1',
imports: [FakeGrandchildComponent],
template: 'Fake Child( )',
diff --git a/adev/src/content/examples/testing/src/app/demo/demo.ts b/adev/src/content/examples/testing/src/app/demo/demo.ts
index e426a18b345bf..39f0cb6281e7b 100755
--- a/adev/src/content/examples/testing/src/app/demo/demo.ts
+++ b/adev/src/content/examples/testing/src/app/demo/demo.ts
@@ -69,7 +69,7 @@ export class MasterService {
/*
* Reverse the input string.
*/
-@Pipe({name: 'reverse', standalone: true})
+@Pipe({name: 'reverse'})
export class ReversePipe implements PipeTransform {
transform(s: string) {
let r = '';
@@ -82,7 +82,6 @@ export class ReversePipe implements PipeTransform {
//////////// Components /////////////
@Component({
- standalone: true,
selector: 'bank-account',
template: ` Bank Name: {{ bank }} Account Id: {{ id }} `,
})
@@ -98,7 +97,6 @@ export class BankAccountComponent {
/** A component with attributes, styles, classes, and property setting */
@Component({
- standalone: true,
selector: 'bank-account-parent',
template: `
Click me!
{{ message }} `,
@@ -138,7 +135,6 @@ export class LightswitchComponent {
// #enddocregion LightswitchComp
@Component({
- standalone: true,
selector: 'child-1',
template: 'Child-1({{text}}) ',
})
@@ -147,7 +143,6 @@ export class Child1Component {
}
@Component({
- standalone: true,
selector: 'child-2',
template: 'Child-2({{text}})
',
})
@@ -156,7 +151,6 @@ export class Child2Component {
}
@Component({
- standalone: true,
selector: 'child-3',
template: 'Child-3({{text}})
',
})
@@ -165,7 +159,6 @@ export class Child3Component {
}
@Component({
- standalone: true,
selector: 'input-comp',
template: ' ',
imports: [FormsModule],
@@ -190,7 +183,7 @@ export class InputComponent {
// }
// As the styleguide recommends
-@Directive({standalone: true, selector: 'input[value]'})
+@Directive({selector: 'input[value]'})
export class InputValueBinderDirective {
@HostBinding() @Input() value: any;
@@ -203,7 +196,6 @@ export class InputValueBinderDirective {
}
@Component({
- standalone: true,
selector: 'input-value-comp',
template: ` Name: {{ name }} `,
})
@@ -212,7 +204,6 @@ export class InputValueBinderComponent {
}
@Component({
- standalone: true,
selector: 'parent-comp',
imports: [Child1Component],
template: 'Parent( )',
@@ -220,7 +211,6 @@ export class InputValueBinderComponent {
export class ParentComponent {}
@Component({
- standalone: true,
selector: 'io-comp',
template: 'Original {{hero.name}} ',
})
@@ -233,7 +223,6 @@ export class IoComponent {
}
@Component({
- standalone: true,
selector: 'io-parent-comp',
template: `
@if (!selectedHero) {
@@ -257,7 +246,6 @@ export class IoParentComponent {
}
@Component({
- standalone: true,
selector: 'my-if-comp',
template: 'MyIf(@if (showMore) {More })',
imports: [sharedImports],
@@ -267,7 +255,6 @@ export class MyIfComponent {
}
@Component({
- standalone: true,
selector: 'my-service-comp',
template: 'injected value: {{valueService.value}}',
providers: [ValueService],
@@ -277,7 +264,6 @@ export class TestProvidersComponent {
}
@Component({
- standalone: true,
selector: 'my-service-comp',
template: 'injected value: {{valueService.value}}',
viewProviders: [ValueService],
@@ -287,7 +273,6 @@ export class TestViewProvidersComponent {
}
@Component({
- standalone: true,
selector: 'external-template-comp',
templateUrl: './demo-external-template.html',
})
@@ -304,7 +289,6 @@ export class ExternalTemplateComponent implements OnInit {
}
@Component({
- standalone: true,
selector: 'comp-w-ext-comp',
imports: [ExternalTemplateComponent],
template: `
@@ -314,7 +298,7 @@ export class ExternalTemplateComponent implements OnInit {
})
export class InnerCompWithExternalTemplateComponent {}
-@Component({standalone: true, selector: 'needs-content', template: ' '})
+@Component({selector: 'needs-content', template: ' '})
export class NeedsContentComponent {
// children with #content local variable
@ContentChildren('content') children: any;
@@ -322,7 +306,6 @@ export class NeedsContentComponent {
///////// MyIfChildComp ////////
@Component({
- standalone: true,
selector: 'my-if-child-1',
template: ` MyIfChildComp
@@ -381,7 +364,6 @@ export class MyIfChildComponent implements OnInit, OnChanges, OnDestroy {
///////// MyIfParentComp ////////
@Component({
- standalone: true,
selector: 'my-if-parent-comp',
template: `
MyIfParentComp
@@ -416,7 +398,6 @@ export class MyIfParentComponent implements OnInit {
}
@Component({
- standalone: true,
selector: 'reverse-pipe-comp',
template: `
@@ -429,14 +410,12 @@ export class ReversePipeComponent {
}
@Component({
- standalone: true,
imports: [NeedsContentComponent],
template: '
Replace Me
',
})
export class ShellComponent {}
@Component({
- standalone: true,
selector: 'demo-comp',
template: `
Specs Demo
diff --git a/adev/src/content/examples/testing/src/app/hero/hero-detail.component.ts b/adev/src/content/examples/testing/src/app/hero/hero-detail.component.ts
index 57313735362d4..d99b7c4fd60fd 100755
--- a/adev/src/content/examples/testing/src/app/hero/hero-detail.component.ts
+++ b/adev/src/content/examples/testing/src/app/hero/hero-detail.component.ts
@@ -9,7 +9,6 @@ import {HeroDetailService} from './hero-detail.service';
// #docregion prototype
@Component({
- standalone: true,
selector: 'app-hero-detail',
templateUrl: './hero-detail.component.html',
styleUrls: ['./hero-detail.component.css'],
diff --git a/adev/src/content/examples/testing/src/app/hero/hero-list.component.ts b/adev/src/content/examples/testing/src/app/hero/hero-list.component.ts
index 4347400e6c653..6aff874ee9067 100755
--- a/adev/src/content/examples/testing/src/app/hero/hero-list.component.ts
+++ b/adev/src/content/examples/testing/src/app/hero/hero-list.component.ts
@@ -9,7 +9,6 @@ import {HeroService} from '../model/hero.service';
import {sharedImports} from '../shared/shared';
@Component({
- standalone: true,
selector: 'app-heroes',
templateUrl: './hero-list.component.html',
styleUrls: ['./hero-list.component.css'],
diff --git a/adev/src/content/examples/testing/src/app/shared/canvas.component.ts b/adev/src/content/examples/testing/src/app/shared/canvas.component.ts
index e4b3d49bcff39..90a23b7acf837 100755
--- a/adev/src/content/examples/testing/src/app/shared/canvas.component.ts
+++ b/adev/src/content/examples/testing/src/app/shared/canvas.component.ts
@@ -9,7 +9,6 @@ import 'zone.js/plugins/zone-patch-canvas';
import {Component, AfterViewInit, ViewChild, ElementRef} from '@angular/core';
@Component({
- standalone: true,
selector: 'sample-canvas',
template: '
',
})
diff --git a/adev/src/content/examples/testing/src/app/shared/highlight.directive.spec.ts b/adev/src/content/examples/testing/src/app/shared/highlight.directive.spec.ts
index 7ca4e4914419f..ffc340fd34756 100755
--- a/adev/src/content/examples/testing/src/app/shared/highlight.directive.spec.ts
+++ b/adev/src/content/examples/testing/src/app/shared/highlight.directive.spec.ts
@@ -6,7 +6,6 @@ import {HighlightDirective} from './highlight.directive';
// #docregion test-component
@Component({
- standalone: true,
template: `
Something Yellow
The Default (Gray)
No Highlight
diff --git a/adev/src/content/examples/testing/src/app/shared/highlight.directive.ts b/adev/src/content/examples/testing/src/app/shared/highlight.directive.ts
index 64ff54a524f78..cd1af1153c2e0 100755
--- a/adev/src/content/examples/testing/src/app/shared/highlight.directive.ts
+++ b/adev/src/content/examples/testing/src/app/shared/highlight.directive.ts
@@ -2,7 +2,7 @@
// #docregion
import {Directive, ElementRef, Input, OnChanges} from '@angular/core';
-@Directive({standalone: true, selector: '[highlight]'})
+@Directive({selector: '[highlight]'})
/**
* Set backgroundColor for the attached element to highlight color
* and set the element's customProperty to true
diff --git a/adev/src/content/examples/testing/src/app/shared/title-case.pipe.ts b/adev/src/content/examples/testing/src/app/shared/title-case.pipe.ts
index 16e7e4c90d6ba..d0861444fc987 100755
--- a/adev/src/content/examples/testing/src/app/shared/title-case.pipe.ts
+++ b/adev/src/content/examples/testing/src/app/shared/title-case.pipe.ts
@@ -1,7 +1,7 @@
// #docregion
import {Pipe, PipeTransform} from '@angular/core';
-@Pipe({name: 'titlecase', standalone: true, pure: true})
+@Pipe({name: 'titlecase', pure: true})
/** Transform to Title Case: uppercase the first letter of the words in a string. */
export class TitleCasePipe implements PipeTransform {
transform(input: string): string {
diff --git a/adev/src/content/examples/testing/src/app/twain/twain.component.ts b/adev/src/content/examples/testing/src/app/twain/twain.component.ts
index ae21bf809cf41..71b6b5d0cf3d9 100755
--- a/adev/src/content/examples/testing/src/app/twain/twain.component.ts
+++ b/adev/src/content/examples/testing/src/app/twain/twain.component.ts
@@ -9,7 +9,6 @@ import {catchError, startWith} from 'rxjs/operators';
import {TwainService} from './twain.service';
@Component({
- standalone: true,
selector: 'twain-quote',
// #docregion template
template: `
diff --git a/adev/src/content/examples/testing/src/app/welcome/welcome.component.ts b/adev/src/content/examples/testing/src/app/welcome/welcome.component.ts
index cdc9a618560b4..b15364a52b411 100755
--- a/adev/src/content/examples/testing/src/app/welcome/welcome.component.ts
+++ b/adev/src/content/examples/testing/src/app/welcome/welcome.component.ts
@@ -3,7 +3,6 @@ import {Component, OnInit, signal} from '@angular/core';
import {UserService} from '../model/user.service';
@Component({
- standalone: true,
selector: 'app-welcome',
template: '
{{welcome()}} ',
})
diff --git a/adev/src/content/guide/di/dependency-injection.md b/adev/src/content/guide/di/dependency-injection.md
index b35e72b0d914b..ce9aeb79ae690 100644
--- a/adev/src/content/guide/di/dependency-injection.md
+++ b/adev/src/content/guide/di/dependency-injection.md
@@ -50,9 +50,8 @@ In this case the `HeroService` becomes available to all instances of this compon
For example:
-
+
@Component({
- standalone: true,
selector: 'hero-list',
template: '...',
providers: [HeroService]
diff --git a/adev/src/content/guide/di/hierarchical-dependency-injection.md b/adev/src/content/guide/di/hierarchical-dependency-injection.md
index 6ae15ab2a10e9..b3d5da195401e 100644
--- a/adev/src/content/guide/di/hierarchical-dependency-injection.md
+++ b/adev/src/content/guide/di/hierarchical-dependency-injection.md
@@ -816,9 +816,8 @@ Because the injector has only to look at the `ElementInjector` of the `` for the `AnimalService`.
Instead, the injector will begin at the `` `ElementInjector`.
-
+
@Component({
- standalone: true,
selector: 'app-child',
…
viewProviders: [
@@ -853,9 +852,8 @@ If you just use `@Host()` for the injection of `AnimalService`, the result is do
The `ChildComponent` configures the `viewProviders` so that the dog emoji is provided as `AnimalService` value.
You can also see `@Host()` in the constructor:
-
+
@Component({
- standalone: true
selector: 'app-child',
…
viewProviders: [
@@ -886,9 +884,8 @@ export class ChildComponent {
Add a `viewProviders` array with a third animal, hedgehog 🦔
, to the `app.component.ts` `@Component()` metadata:
-
+
@Component({
- standalone: true,
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: [ './app.component.css' ],
@@ -1177,4 +1174,4 @@ style RootInjector fill:#BDD7EE,color:#000
-
\ No newline at end of file
+
diff --git a/adev/src/content/guide/directives/directive-composition-api.md b/adev/src/content/guide/directives/directive-composition-api.md
index bfb37cf50d78f..c898326894d03 100644
--- a/adev/src/content/guide/directives/directive-composition-api.md
+++ b/adev/src/content/guide/directives/directive-composition-api.md
@@ -16,7 +16,6 @@ works similarly to applying the `MenuBehavior` to the `` element in
```typescript
@Component({
- standalone: true,
selector: 'admin-menu',
template: 'admin-menu.html',
hostDirectives: [MenuBehavior],
@@ -32,7 +31,7 @@ and outputs are not exposed as part of the component's public API. See
**Angular applies host directives statically at compile time.** You cannot dynamically add
directives at runtime.
-**Directives used in `hostDirectives` must be `standalone: true`.**
+**Directives used in `hostDirectives` may not specify `standalone: false`.**
**Angular ignores the `selector` of directives applied in the `hostDirectives` property.**
@@ -44,7 +43,6 @@ in your component's API by expanding the entry in `hostDirectives`:
```typescript
@Component({
- standalone: true,
selector: 'admin-menu',
template: 'admin-menu.html',
hostDirectives: [{
@@ -69,7 +67,6 @@ component:
```typescript
@Component({
- standalone: true,
selector: 'admin-menu',
template: 'admin-menu.html',
hostDirectives: [{
@@ -108,14 +105,12 @@ export class Tooltip { }
// MenuWithTooltip can compose behaviors from multiple other directives
@Directive({
- standalone: true,
hostDirectives: [Tooltip, Menu],
})
export class MenuWithTooltip { }
// CustomWidget can apply the already-composed behaviors from MenuWithTooltip
@Directive({
- standalone: true,
hostDirectives: [MenuWithTooltip],
})
export class SpecializedMenuWithTooltip { }
@@ -132,7 +127,6 @@ The following example shows minimal use of a host directive:
```typescript
@Component({
- standalone: true,
selector: 'admin-menu',
template: 'admin-menu.html',
hostDirectives: [MenuBehavior],
@@ -160,13 +154,11 @@ example.
export class Tooltip { }
@Directive({
- standalone: true,
hostDirectives: [Tooltip],
})
export class CustomTooltip { }
@Directive({
- standalone: true,
hostDirectives: [CustomTooltip],
})
export class EvenMoreCustomTooltip { }
diff --git a/adev/src/content/guide/directives/structural-directives.md b/adev/src/content/guide/directives/structural-directives.md
index 08be31f42e691..4b25af1e49cac 100644
--- a/adev/src/content/guide/directives/structural-directives.md
+++ b/adev/src/content/guide/directives/structural-directives.md
@@ -79,7 +79,6 @@ Import `TemplateRef`, and `ViewContainerRef`. Inject `TemplateRef` and `ViewCont
import {Directive, TemplateRef, ViewContainerRef} from '@angular/core';
@Directive({
- standalone: true,
selector: '[select]',
})
export class SelectDirective {
diff --git a/adev/src/content/guide/http/making-requests.md b/adev/src/content/guide/http/making-requests.md
index 810cd99af37ac..c29bb8ba449e8 100644
--- a/adev/src/content/guide/http/making-requests.md
+++ b/adev/src/content/guide/http/making-requests.md
@@ -247,7 +247,6 @@ Within a component, you can combine `@if` with the `async` pipe to render the UI
import { AsyncPipe } from '@angular/common';
@Component({
- standalone: true,
imports: [AsyncPipe],
template: `
@if (user$ | async; as user) {
diff --git a/adev/src/content/guide/pipes/template.md b/adev/src/content/guide/pipes/template.md
index ae5f7d32dfebc..21fe89dbe0abc 100644
--- a/adev/src/content/guide/pipes/template.md
+++ b/adev/src/content/guide/pipes/template.md
@@ -14,7 +14,6 @@ import { Component } from '@angular/core';
import { DatePipe } from '@angular/common';
@Component({
- standalone: true,
templateUrl: './app.component.html',
imports: [DatePipe],
})
diff --git a/adev/src/content/guide/pipes/transform-data.md b/adev/src/content/guide/pipes/transform-data.md
index 7cac3abd804d1..545275e43e6fc 100644
--- a/adev/src/content/guide/pipes/transform-data.md
+++ b/adev/src/content/guide/pipes/transform-data.md
@@ -19,7 +19,6 @@ import { Pipe } from '@angular/core';
@Pipe({
name: 'greet',
- standalone: true,
})
export class GreetPipe {}
```
@@ -35,7 +34,6 @@ import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'greet',
- standalone: true,
})
export class GreetPipe implements PipeTransform {
transform(value: string, param1: boolean, param2: boolean): string {
diff --git a/adev/src/content/guide/routing/common-router-tasks.md b/adev/src/content/guide/routing/common-router-tasks.md
index f12949eb3b72b..a0b2b1f267f86 100644
--- a/adev/src/content/guide/routing/common-router-tasks.md
+++ b/adev/src/content/guide/routing/common-router-tasks.md
@@ -110,7 +110,6 @@ You also need to add the `RouterLink`, `RouterLinkActive`, and `RouterOutlet` to
```ts
@Component({
selector: 'app-root',
- standalone: true,
imports: [CommonModule, RouterOutlet, RouterLink, RouterLinkActive],
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
diff --git a/adev/src/content/guide/templates/ng-content.md b/adev/src/content/guide/templates/ng-content.md
index bcf269137d639..46508c98a8da6 100644
--- a/adev/src/content/guide/templates/ng-content.md
+++ b/adev/src/content/guide/templates/ng-content.md
@@ -10,7 +10,6 @@ import { Component } from '@angular/core';
@Component({
selector: 'button[baseButton]',
- standalone: true,
template: `
`,
@@ -25,7 +24,6 @@ import { BaseButton } from './base-button/base-button.component.ts';
@Component({
selector: 'app-root',
- standalone: true,
imports: [BaseButton],
template: `
diff --git a/adev/src/content/guide/templates/pipes.md b/adev/src/content/guide/templates/pipes.md
index 98caab3573b68..f7a66935ececf 100644
--- a/adev/src/content/guide/templates/pipes.md
+++ b/adev/src/content/guide/templates/pipes.md
@@ -14,7 +14,6 @@ import { CurrencyPipe, DatePipe, TitleCasePipe } from '@angular/common';
@Component({
selector: 'app-root',
- standalone: true,
imports: [CurrencyPipe, DatePipe, TitleCasePipe],
template: `
@@ -113,7 +112,6 @@ import { CurrencyPipe} from '@angular/common';
@Component({
selector: 'app-root',
- standalone: true,
imports: [CurrencyPipe],
template: `
@@ -184,7 +182,6 @@ import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'kebabCase',
- standalone: true,
})
export class KebabCasePipe implements PipeTransform {
transform(value: string): string {
@@ -202,15 +199,11 @@ import { Pipe } from '@angular/core';
@Pipe({
name: 'myCustomTransformation',
- standalone: true
})
export class MyCustomTransformationPipe {}
```
-The `@Pipe` decorator requires two configuration options:
-
-- `name`: The pipe name that will be used in a template
-- `standalone: true` - Ensures the pipe can be used in standalone applications
+The `@Pipe` decorator requires a `name` that controls how the pipe is used in a template.
### Naming convention for custom pipes
@@ -228,7 +221,6 @@ import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'myCustomTransformation',
- standalone: true
})
export class MyCustomTransformationPipe implements PipeTransform {}
```
@@ -244,7 +236,6 @@ import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'myCustomTransformation',
- standalone: true
})
export class MyCustomTransformationPipe implements PipeTransform {
transform(value: string): string {
@@ -262,7 +253,6 @@ import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'myCustomTransformation',
- standalone: true
})
export class MyCustomTransformationPipe implements PipeTransform {
transform(value: string, format: string): string {
@@ -289,7 +279,6 @@ import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'featuredItemsImpure',
pure: false,
- standalone: true
})
export class FeaturedItemsImpurePipe implements PipeTransform {
transform(value: string, format: string): string {
diff --git a/adev/src/content/guide/templates/two-way-binding.md b/adev/src/content/guide/templates/two-way-binding.md
index 69b065c89d06a..610b0911755e5 100644
--- a/adev/src/content/guide/templates/two-way-binding.md
+++ b/adev/src/content/guide/templates/two-way-binding.md
@@ -17,7 +17,6 @@ import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
@Component({
- standalone: true,
imports: [FormsModule],
template: `
@@ -54,7 +53,6 @@ import { CounterComponent } from './counter/counter.component';
@Component({
selector: 'app-root',
- standalone: true,
imports: [CounterComponent],
template: `
@@ -74,7 +72,6 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
@Component({
selector: 'app-counter',
- standalone: true,
template: `
-
{{ count }}
@@ -134,7 +131,6 @@ import { CounterComponent } from './counter/counter.component';
@Component({
selector: 'app-root',
- standalone: true,
imports: [CounterComponent],
template: `
diff --git a/adev/src/content/reference/errors/NG0302.md b/adev/src/content/reference/errors/NG0302.md
index 6e12e27ee3bed..451b2b64bf9e1 100644
--- a/adev/src/content/reference/errors/NG0302.md
+++ b/adev/src/content/reference/errors/NG0302.md
@@ -9,8 +9,7 @@ The [pipe](guide/templates/pipes) referenced in the template has not been named
To use the pipe:
- Ensure the name used in a template matches the name defined in the pipe decorator.
-- Either mark it as standalone by adding the `standalone: true` flag to the pipe's decorator or declare it as a part of an `NgModule` by adding to that module's declarations array.
-- Import it in the standalone components and/or the `NgModules` where it is needed.
+- Add the pipe to your component's `imports` array or, if the pipe sets `standalone: false`, add the `NgModule` to which the pipe belongs.
## Debugging the error
diff --git a/adev/src/content/reference/errors/NG0500.md b/adev/src/content/reference/errors/NG0500.md
index a8ffd8aa37f4b..3c5d6b012216d 100644
--- a/adev/src/content/reference/errors/NG0500.md
+++ b/adev/src/content/reference/errors/NG0500.md
@@ -10,7 +10,6 @@ The following example will trigger the error.
```typescript
@Component({
- standalone: true,
selector: 'app-example',
template: 'world
',
})
diff --git a/adev/src/content/reference/errors/NG0503.md b/adev/src/content/reference/errors/NG0503.md
index 73f6b66a9fbf7..950821aeb9977 100644
--- a/adev/src/content/reference/errors/NG0503.md
+++ b/adev/src/content/reference/errors/NG0503.md
@@ -8,7 +8,6 @@ The following examples will trigger the error.
```typescript
@Component({
- standalone: true,
selector: 'dynamic',
template: `
@@ -18,7 +17,6 @@ class DynamicComponent {
}
@Component({
- standalone: true,
selector: 'app',
template: `
`,
})
diff --git a/adev/src/content/reference/errors/NG0504.md b/adev/src/content/reference/errors/NG0504.md
index 421629d3106a0..b45b1c334379e 100644
--- a/adev/src/content/reference/errors/NG0504.md
+++ b/adev/src/content/reference/errors/NG0504.md
@@ -12,7 +12,6 @@ In this example, the `ngSkipHydration` attribute is applied to a `` using h
```typescript
@Directive({
- standalone: true,
selector: '[dir]',
host: {ngSkipHydration: 'true'},
})
@@ -20,7 +19,6 @@ class Dir {
}
@Component({
- standalone: true,
selector: 'app',
imports: [Dir],
template: `
@@ -38,7 +36,6 @@ Since the `
` doesn't act as a component host node, Angular will throw an er
```typescript
@Component({
- standalone: true,
selector: 'app',
template: `
diff --git a/adev/src/content/reference/errors/NG0506.md b/adev/src/content/reference/errors/NG0506.md
index 45dd3b4942395..9c3760c680faf 100644
--- a/adev/src/content/reference/errors/NG0506.md
+++ b/adev/src/content/reference/errors/NG0506.md
@@ -22,7 +22,6 @@ If one of these functions is called during the initialization phase of the appli
```typescript
@Component({
- standalone: true,
selector: 'app',
template: ``,
})
diff --git a/adev/src/content/reference/extended-diagnostics/NG8103.md b/adev/src/content/reference/extended-diagnostics/NG8103.md
index cd1dacfee3e3a..0d2a96bfb5843 100644
--- a/adev/src/content/reference/extended-diagnostics/NG8103.md
+++ b/adev/src/content/reference/extended-diagnostics/NG8103.md
@@ -9,7 +9,6 @@ individually or by importing the `CommonModule`.
import {Component} from '@angular/core';
@Component({
- standalone: true,
// Template uses `*ngIf`, but no corresponding directive imported.
imports: [],
template: `
Hi
`,
@@ -34,7 +33,6 @@ import {Component} from '@angular/core';
import {NgIf} from '@angular/common';
@Component({
- standalone: true,
imports: [NgIf],
template: `
Hi
`,
})
@@ -50,7 +48,6 @@ import {Component} from '@angular/core';
import {CommonModule} from '@angular/common';
@Component({
- standalone: true,
imports: [CommonModule],
template: `
Hi
`,
})
diff --git a/adev/src/content/tutorials/deferrable-views/intro/src/app/app.component.ts b/adev/src/content/tutorials/deferrable-views/intro/src/app/app.component.ts
index 0fe4fda91833a..5321711c297c1 100644
--- a/adev/src/content/tutorials/deferrable-views/intro/src/app/app.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/intro/src/app/app.component.ts
@@ -5,6 +5,5 @@ import {Component} from '@angular/core';
template: `
Welcome to Angular!
`,
- standalone: true,
})
export class AppComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/app.component.ts b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/app.component.ts
index 5c3d91f4ff3f8..c523a7662fa83 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/app.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/app.component.ts
@@ -22,7 +22,6 @@ import {ArticleCommentsComponent} from './article-comments.component';
`,
- standalone: true,
imports: [ArticleCommentsComponent],
})
export class AppComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/article-comments.component.ts b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/article-comments.component.ts
index 7b742a09fe5ea..a92992cb753de 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/article-comments.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/answer/src/app/article-comments.component.ts
@@ -24,6 +24,5 @@ import {Component} from '@angular/core';
}
`,
],
- standalone: true,
})
export class ArticleCommentsComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/app.component.ts b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/app.component.ts
index 1e17558bd4a84..18a2bcf6bb70f 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/app.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/app.component.ts
@@ -20,7 +20,6 @@ import {ArticleCommentsComponent} from './article-comments.component';
`,
- standalone: true,
imports: [ArticleCommentsComponent],
})
export class AppComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/article-comments.component.ts b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/article-comments.component.ts
index 7b742a09fe5ea..a92992cb753de 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/article-comments.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/1-what-are-deferrable-views/src/app/article-comments.component.ts
@@ -24,6 +24,5 @@ import {Component} from '@angular/core';
}
`,
],
- standalone: true,
})
export class ArticleCommentsComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/app.component.ts b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/app.component.ts
index 8e82906e1deaa..2937cb93bfdba 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/app.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/app.component.ts
@@ -28,7 +28,6 @@ import {ArticleCommentsComponent} from './article-comments.component';
`,
- standalone: true,
imports: [ArticleCommentsComponent],
})
export class AppComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/article-comments.component.ts b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/article-comments.component.ts
index 7b742a09fe5ea..a92992cb753de 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/article-comments.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/answer/src/app/article-comments.component.ts
@@ -24,6 +24,5 @@ import {Component} from '@angular/core';
}
`,
],
- standalone: true,
})
export class ArticleCommentsComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/app.component.ts b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/app.component.ts
index 5c3d91f4ff3f8..c523a7662fa83 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/app.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/app.component.ts
@@ -22,7 +22,6 @@ import {ArticleCommentsComponent} from './article-comments.component';
`,
- standalone: true,
imports: [ArticleCommentsComponent],
})
export class AppComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/article-comments.component.ts b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/article-comments.component.ts
index 7b742a09fe5ea..a92992cb753de 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/article-comments.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/src/app/article-comments.component.ts
@@ -24,6 +24,5 @@ import {Component} from '@angular/core';
}
`,
],
- standalone: true,
})
export class ArticleCommentsComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/app.component.ts b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/app.component.ts
index 572c1463521b8..b91abc88c564b 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/app.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/app.component.ts
@@ -30,7 +30,6 @@ import {ArticleCommentsComponent} from './article-comments.component';
`,
- standalone: true,
imports: [ArticleCommentsComponent],
})
export class AppComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/article-comments.component.ts b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/article-comments.component.ts
index 7b742a09fe5ea..a92992cb753de 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/article-comments.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/answer/src/app/article-comments.component.ts
@@ -24,6 +24,5 @@ import {Component} from '@angular/core';
}
`,
],
- standalone: true,
})
export class ArticleCommentsComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/app.component.ts b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/app.component.ts
index 8e82906e1deaa..2937cb93bfdba 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/app.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/app.component.ts
@@ -28,7 +28,6 @@ import {ArticleCommentsComponent} from './article-comments.component';
`,
- standalone: true,
imports: [ArticleCommentsComponent],
})
export class AppComponent {}
diff --git a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/article-comments.component.ts b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/article-comments.component.ts
index 7b742a09fe5ea..a92992cb753de 100644
--- a/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/article-comments.component.ts
+++ b/adev/src/content/tutorials/deferrable-views/steps/3-defer-triggers/src/app/article-comments.component.ts
@@ -24,6 +24,5 @@ import {Component} from '@angular/core';
}
`,
],
- standalone: true,
})
export class ArticleCommentsComponent {}
diff --git a/adev/src/content/tutorials/first-app/steps/01-hello-world/src/app/app.component.ts b/adev/src/content/tutorials/first-app/steps/01-hello-world/src/app/app.component.ts
index 6ac85fd657aed..b4007e5e572c9 100644
--- a/adev/src/content/tutorials/first-app/steps/01-hello-world/src/app/app.component.ts
+++ b/adev/src/content/tutorials/first-app/steps/01-hello-world/src/app/app.component.ts
@@ -2,7 +2,6 @@ import {Component} from '@angular/core';
@Component({
selector: 'app-root',
- standalone: true,
imports: [],
template: `