diff --git a/content/1-reactivity/1-declare-state/angularRenaissance/name.component.ts b/content/1-reactivity/1-declare-state/angularRenaissance/name.component.ts index e756e958..942c0006 100644 --- a/content/1-reactivity/1-declare-state/angularRenaissance/name.component.ts +++ b/content/1-reactivity/1-declare-state/angularRenaissance/name.component.ts @@ -1,7 +1,6 @@ import { Component, signal } from "@angular/core"; @Component({ - standalone: true, selector: "app-name", template: `

Hello {{ name() }}

`, }) diff --git a/content/1-reactivity/2-update-state/angularRenaissance/name.component.ts b/content/1-reactivity/2-update-state/angularRenaissance/name.component.ts index 3d0f2ff9..763aa321 100644 --- a/content/1-reactivity/2-update-state/angularRenaissance/name.component.ts +++ b/content/1-reactivity/2-update-state/angularRenaissance/name.component.ts @@ -1,7 +1,6 @@ import { Component, signal } from "@angular/core"; @Component({ - standalone: true, selector: "app-name", template: `

Hello {{ name() }}

`, }) diff --git a/content/1-reactivity/3-computed-state/angularRenaissance/doublecount.component.ts b/content/1-reactivity/3-computed-state/angularRenaissance/doublecount.component.ts index f14d7270..015e3755 100644 --- a/content/1-reactivity/3-computed-state/angularRenaissance/doublecount.component.ts +++ b/content/1-reactivity/3-computed-state/angularRenaissance/doublecount.component.ts @@ -1,11 +1,10 @@ import { Component, computed, signal } from "@angular/core"; @Component({ - standalone: true, - selector: "app-doublecount", + selector: "app-double-count", template: `
{{ doubleCount() }}
`, }) -export class DoublecountComponent { +export class DoubleCountComponent { count = signal(10); doubleCount = computed(() => this.count() * 2); diff --git a/content/2-templating/1-minimal-template/angularRenaissance/helloworld.component.ts b/content/2-templating/1-minimal-template/angularRenaissance/helloworld.component.ts index be38ebd4..bb970562 100644 --- a/content/2-templating/1-minimal-template/angularRenaissance/helloworld.component.ts +++ b/content/2-templating/1-minimal-template/angularRenaissance/helloworld.component.ts @@ -1,8 +1,7 @@ import { Component } from "@angular/core"; @Component({ - standalone: true, - selector: "app-helloworld", + selector: "app-hello-world", template: `

Hello world

`, }) -export class HelloworldComponent {} +export class HelloWorldComponent {} diff --git a/content/2-templating/2-styling/angularRenaissance/cssstyle.component.ts b/content/2-templating/2-styling/angularRenaissance/cssstyle.component.ts index bb81145a..9f9a5fbe 100644 --- a/content/2-templating/2-styling/angularRenaissance/cssstyle.component.ts +++ b/content/2-templating/2-styling/angularRenaissance/cssstyle.component.ts @@ -1,8 +1,7 @@ import { Component } from "@angular/core"; @Component({ - standalone: true, - selector: "app-cssstyle", + selector: "app-css-style", template: `

I am red

diff --git a/content/2-templating/3-loop/angularRenaissance/colors.component.ts b/content/2-templating/3-loop/angularRenaissance/colors.component.ts index 5e210a52..ebf0ddf9 100644 --- a/content/2-templating/3-loop/angularRenaissance/colors.component.ts +++ b/content/2-templating/3-loop/angularRenaissance/colors.component.ts @@ -1,7 +1,6 @@ import { Component } from "@angular/core"; @Component({ - standalone: true, selector: "app-colors", template: `