Currently [`TemplateConfig.directives`](https://github.com/angular/angular/blob/master/modules/angular2/src/core/annotations/template_config.js#L14) takes a list `[Directive1]`. This means that when importing the whole list has to be enumerated. By supporting a Array of Arrays (arbitrary deep) we can do this. ``` var coreDirectives = [ng.Foreach, ng.If]; var appDirectives = [Component1, Component2, coreDirectives] new TemplateConfig({ directives: [appDirectives, Component3] }) ```
Currently
TemplateConfig.directivestakes a list[Directive1]. This means that when importing the whole list has to be enumerated.By supporting a Array of Arrays (arbitrary deep) we can do this.