
This commit updates the docs examples to be compatible with the `import-spacing` tslint rule. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
28 lines
900 B
TypeScript
28 lines
900 B
TypeScript
// #docregion
|
|
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 ],
|
|
// #docregion entry-components
|
|
entryComponents: [ HeroJobAdComponent, HeroProfileComponent ],
|
|
// #enddocregion entry-components
|
|
bootstrap: [ AppComponent ]
|
|
})
|
|
export class AppModule {
|
|
constructor() {}
|
|
}
|
|
|