1

@Component({
    // Get dynamic template url
    templateUrl: (() => showHello() ? '/hello.component.html' : '/world.component.html')()
})

Emon
8 声望1 粉丝