fix(compiler_cli): normalize used directives

- e.g. needed for content projection.

Closes #8677
This commit is contained in:
Tobias Bosch
2016-05-16 12:06:21 -07:00
parent 50c9bed630
commit ff36b0384a
3 changed files with 54 additions and 13 deletions
@@ -0,0 +1,15 @@
import {Component} from '@angular/core';
@Component({
selector: 'comp-with-proj',
template: '<ng-content></ng-content>'
})
export class CompWithProjection {
}
@Component({
selector: 'main',
template: '<comp-with-proj><span greeting="Hello world!"></span></comp-with-proj>',
directives: [CompWithProjection]
})
export class MainComp {}