Answers for "angular show another component"

0

angular show another component

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>
Posted by: Guest on January-12-2022

Code answers related to "angular show another component"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language