Hi,
I have implemented some directives and components that are very important
to many parts of my application, e.g. a shortcut component.
In previous version of angular2 I was able to define a array of directives
const GP_DIRECTIVES: any[] = [
ShortcutComponent,
];
and then use them in a component:
@Component({
selector: '<app>',
directives: [GP_DIRECTIVES, CORE_DIRECTIVES]
})
export class App { }
In RC2 it does not work anymore, the ngOnit of my directive is only called
if I register it manually. Are there some known issues or is it not
supported anymore?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.