[SOLVED] Custom component declaration in RC.0 how to

I’m not sure about it, should I or should I not add my custom components (“directive”) in my “entryComponents” array list of app.module.ts?

1 Like

You need to import the component and add it under declarations array in app.module.ts.

Look at this angular 2 documentation that has a tutorial that explains how to use custom components.
https://angular.io/docs/ts/latest/tutorial/toh-pt3.html

Oki doki thx. Custom component = to be declared “only” in “declarations” array and not in “entryComponents”