-
-
Save anonymous/9f0fc00ed223b3032dc3cddda30e9266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppComponent } from './app.component'; | |
import { AdDirective } from './ad.directive'; | |
import { AdBannerComponent } from './ad-banner/ad-banner.component'; | |
import { UnodepieraComponent } from '@publishers/unodepiera/unodepiera.component'; | |
import { CursosdesarrollowebComponent } from '@publishers/cursosdesarrolloweb/cursosdesarrolloweb.component'; | |
import {AdService} from "./ad.service"; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
AdDirective, | |
AdBannerComponent, | |
UnodepieraComponent, | |
CursosdesarrollowebComponent | |
], | |
imports: [ | |
BrowserModule | |
], | |
providers: [AdService], | |
bootstrap: [AppComponent], | |
//carga imperativa, no declarativa | |
entryComponents: [CursosdesarrollowebComponent, UnodepieraComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment