mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
23 lines
685 B
TypeScript
23 lines
685 B
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
import { AppComponent } from './app.component';
|
|
import { HeroJobAdComponent } from './hero-job-ad.component';
|
|
import { AdBannerComponent } from './ad-banner.component';
|
|
import { HeroProfileComponent } from './hero-profile.component';
|
|
import { AdDirective } from './ad.directive';
|
|
import { AdService } from './ad.service';
|
|
|
|
@NgModule({
|
|
imports: [ BrowserModule ],
|
|
providers: [ AdService ],
|
|
declarations: [
|
|
AppComponent,
|
|
AdBannerComponent,
|
|
HeroJobAdComponent,
|
|
HeroProfileComponent,
|
|
AdDirective
|
|
],
|
|
bootstrap: [ AppComponent ]
|
|
})
|
|
export class AppModule { }
|
|
|