@Component({
selector: 'stub',
template: 'stub'
})
class Stub {}
@Component({
'selector': 'home',
style: `
stub, router-outlet + * {
color: red;
}
`,
template: 'Welcome to Home!<router-outlet></router-outlet>'
})
@RouteConfig([
{ path: '/', component: Stub }
])
export class Home {}
I understand it so that components that are added asynchronously don't get _ng_content-<id> attribute being assigned to them. It looks like a bug.
I understand it so that components that are added asynchronously don't get
_ng_content-<id>attribute being assigned to them. It looks like a bug.