mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit edits the copy on the interpolation page. Tightens language, clarifies headers, and streamlines text. There are no content or code changes. PR Close #38687
27 lines
537 B
TypeScript
27 lines
537 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
import { CUSTOMERS } from './customers';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.css']
|
|
})
|
|
export class AppComponent {
|
|
customers = CUSTOMERS;
|
|
// #docregion customer
|
|
currentCustomer = 'Maria';
|
|
// #enddocregion customer
|
|
|
|
title = 'Featured product:';
|
|
itemImageUrl = '../assets/potted-plant.png';
|
|
|
|
recommended = 'You might also like:';
|
|
itemImageUrl2 = '../assets/lamp.png';
|
|
|
|
|
|
|
|
getVal(): number { return 2; }
|
|
|
|
|
|
}
|