Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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>
 
PREVIOUS NEXT
Tagged: #angular #show #component
ADD COMMENT
Topic
Name
7+5 =