https://github.com/angular/angular
Raw File
Tip revision: 33f812016427d0d124abd1dca661d52de2bb9f4f authored by Igor Minar on 06 April 2018, 23:33:44 UTC
docs: add changelog for 6.0.0-rc.3
Tip revision: 33f8120
resource-list.module.ts
import { NgModule, Type } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ResourceListComponent } from './resource-list.component';
import { ResourceService } from './resource.service';
import { WithCustomElementComponent } from '../element-registry';

@NgModule({
  imports: [ CommonModule ],
  declarations: [ ResourceListComponent ],
  entryComponents: [ ResourceListComponent ],
  providers: [ ResourceService ]
})
export class ResourceListModule implements WithCustomElementComponent {
  customElementComponent: Type<any> = ResourceListComponent;
}
back to top