Skip to content

Instantly share code, notes, and snippets.

@eestein
Created April 25, 2018 16:25
Show Gist options
  • Save eestein/70342c6acf2c2d76e2012ab48fb70d50 to your computer and use it in GitHub Desktop.
Save eestein/70342c6acf2c2d76e2012ab48fb70d50 to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, Component } from '@angular/core';
@Component({
selector: 'app-component',
template: `<h1>Unimed BH POC App 2</h1>`
})
class AppComponent{}
@Component({
selector: 'app-comp2',
template: `<h1>Componente do App 2</h1>`
})
class CompApp2{}
@NgModule({
declarations: [
AppComponent,
CompApp2
],
imports: [
BrowserModule
],
entryComponents:[
CompApp2
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment