We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 053e516 commit 40642a4Copy full SHA for 40642a4
1 file changed
src/app/app.component.ts
@@ -15,7 +15,7 @@ import { CarService } from './car.service';
15
16
<router-outlet></router-outlet>
17
18
- <p>{{ carService.getCars() }}</p>
+ <p>Car Listing: {{ display }}</p>
19
20
<img ngSrc="assets/logo.svg" alt="Angular logo" width="32" height="32" />
21
`,
@@ -29,4 +29,5 @@ import { CarService } from './car.service';
29
})
30
export class AppComponent {
31
carService = inject(CarService);
32
+ display = this.carService.getCars().join(' ⭐️ ');
33
}
0 commit comments