diff --git a/apps/angular/59-content-projection-defer/src/app/page-2.ts b/apps/angular/59-content-projection-defer/src/app/page-2.ts index 3f2886d4e..5665466d8 100644 --- a/apps/angular/59-content-projection-defer/src/app/page-2.ts +++ b/apps/angular/59-content-projection-defer/src/app/page-2.ts @@ -20,12 +20,12 @@ interface Post {
Load Post
- @if (postRessource.isLoading()) { + @if (postResource.isLoading()) { Loading... - } @else if (postRessource.status() === ResourceStatus.Error) { + } @else if (postResource.status() === ResourceStatus.Error) { Error... } @else { - @for (post of postRessource.value(); track post.id) { + @for (post of postResource.value(); track post.id) {
{{ post.title }}
} } @@ -36,7 +36,7 @@ interface Post { imports: [ExpandableCard], }) export class Page2 { - public postRessource = httpResource( + public postResource = httpResource( 'https://jsonplaceholder.typicode.com/posts', ); protected readonly ResourceStatus = ResourceStatus;