📅  最后修改于: 2022-03-11 15:03:47.044000             🧑  作者: Mango
//
@Component({
selector: 'app-demo',
template: '{{title}}
',
})
export class DemoComponent {
title = 'Works!';
}
//Content to be projected:
This is projected content!
//The output will be:
Works!
This is projected content!