CopyPastor

Detecting plagiarism made easy.

Score: 0.7981975914418012; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2018-08-14
by Ramesh

Original Post

Original - Posted on 2017-04-19
by Royi Namir



            
Present in both answers; Present only in the new answer; Present only in the old answer;

You register it in `@NgModule` declarations:
@NgModule({ imports: [ BrowserModule ], declarations: [ App , MyChildComponent ], bootstrap: [ App ] })
and then You just put it in the Parent's Template HTML as : `<my-child></my-child>`
That's it.
You *don't put* a component in `directives`
You *register* it in `@NgModule ` declarations:
@NgModule({ imports: [ BrowserModule ], declarations: [ App , MyChildComponent ], bootstrap: [ App ] })
and then You just put it in the Parent's Template HTML as : `<my-child></my-child>`
That's it.

        
Present in both answers; Present only in the new answer; Present only in the old answer;