76 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/**
 | 
						|
 * @license
 | 
						|
 * Copyright Google Inc. All Rights Reserved.
 | 
						|
 *
 | 
						|
 * Use of this source code is governed by an MIT-style license that can be
 | 
						|
 * found in the LICENSE file at https://angular.io/license
 | 
						|
 */
 | 
						|
 | 
						|
import {ApplicationRef, NgModule} from '@angular/core';
 | 
						|
import {FormsModule} from '@angular/forms';
 | 
						|
import {ServerModule} from '@angular/platform-server';
 | 
						|
import {MdButtonModule} from '@angular2-material/button';
 | 
						|
 | 
						|
import {ThirdpartyModule} from '../third_party_src/module';
 | 
						|
 | 
						|
import {MultipleComponentsMyComp, NextComp} from './a/multiple_components';
 | 
						|
import {AnimateCmp} from './animate';
 | 
						|
import {BasicComp} from './basic';
 | 
						|
import {ComponentUsingThirdParty} from './comp_using_3rdp';
 | 
						|
import {CompWithAnalyzeEntryComponentsProvider, CompWithEntryComponents} from './entry_components';
 | 
						|
import {CompConsumingEvents, CompUsingPipes, CompWithProviders, CompWithReferences, DirPublishingEvents, ModuleUsingCustomElements} from './features';
 | 
						|
import {CompUsingRootModuleDirectiveAndPipe, SomeDirectiveInRootModule, SomePipeInRootModule, SomeService, someLibModuleWithProviders} from './module_fixtures';
 | 
						|
import {CompWithNgContent, ProjectingComp} from './projection';
 | 
						|
import {CompForChildQuery, CompWithChildQuery, CompWithDirectiveChild, DirectiveForQuery} from './queries';
 | 
						|
 | 
						|
@NgModule({
 | 
						|
  declarations: [
 | 
						|
    AnimateCmp,
 | 
						|
    BasicComp,
 | 
						|
    CompConsumingEvents,
 | 
						|
    CompForChildQuery,
 | 
						|
    CompUsingPipes,
 | 
						|
    CompUsingRootModuleDirectiveAndPipe,
 | 
						|
    CompWithAnalyzeEntryComponentsProvider,
 | 
						|
    CompWithChildQuery,
 | 
						|
    CompWithDirectiveChild,
 | 
						|
    CompWithEntryComponents,
 | 
						|
    CompWithNgContent,
 | 
						|
    CompWithProviders,
 | 
						|
    CompWithReferences,
 | 
						|
    DirectiveForQuery,
 | 
						|
    DirPublishingEvents,
 | 
						|
    MultipleComponentsMyComp,
 | 
						|
    NextComp,
 | 
						|
    ProjectingComp,
 | 
						|
    SomeDirectiveInRootModule,
 | 
						|
    SomePipeInRootModule,
 | 
						|
    ComponentUsingThirdParty,
 | 
						|
  ],
 | 
						|
  imports: [
 | 
						|
    ServerModule,
 | 
						|
    FormsModule,
 | 
						|
    MdButtonModule,
 | 
						|
    ModuleUsingCustomElements,
 | 
						|
    someLibModuleWithProviders(),
 | 
						|
    ThirdpartyModule,
 | 
						|
  ],
 | 
						|
  providers: [SomeService],
 | 
						|
  entryComponents: [
 | 
						|
    AnimateCmp,
 | 
						|
    BasicComp,
 | 
						|
    CompUsingRootModuleDirectiveAndPipe,
 | 
						|
    CompWithAnalyzeEntryComponentsProvider,
 | 
						|
    CompWithChildQuery,
 | 
						|
    CompWithEntryComponents,
 | 
						|
    CompWithReferences,
 | 
						|
    ProjectingComp,
 | 
						|
    ComponentUsingThirdParty,
 | 
						|
  ]
 | 
						|
})
 | 
						|
export class MainModule {
 | 
						|
  constructor(public appRef: ApplicationRef) {}
 | 
						|
 | 
						|
  ngDoBootstrap() {}
 | 
						|
}
 |