How can the attributes be transparently translated from wrapper component to nested one?
Considering that there is
const FIRST_PARTY_OWN_INPUTS = [...];
const FIRST_PARTY_PASSTHROUGH_INPUTS = ['all', 'attrs', 'are', 'passed'];
@Component({
selector: ['first-party'],
inputs: [...FIRST_PARTY_OWN_INPUTS, ...FIRST_PARTY_PASSTHROUGH_INPUTS],
template: `
<div>
<third-party [all]="all" [attrs]="attrs" [are]="are" [passed]="passed"></third-party>
<first-party-extra></first-party-extra>
</div>
`,
directives: [ThirdParty]
})
export class FirstPartyInput { ... }
Can inputs be translated in batch, so they could be not enumerated in template?
It looks like elementRef.nativeElement.setAttribute isn't effective here (it throws InvalidCharacterError: String contains an invalid character on any attribute, probably because of Zone).
