I\'m new at Angular and I\'m still trying to understand it. I\'ve followed the course on the Microsoft Virtual Academy and it was great, but I found a little discrepancy between
You don't put a component in directives
directives
You register it in @NgModule declarations:
@NgModule
@NgModule({ imports: [ BrowserModule ], declarations: [ App , MyChildComponent ], bootstrap: [ App ] })
and then You just put it in the Parent's Template HTML as :
That's it.