You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1011 B
TypeScript
29 lines
1011 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
import { IonicModule } from '@ionic/angular';
|
|
|
|
import { FeedListComponent } from './feed-list/feed-list.component';
|
|
import { FeedItemComponent } from './feed-item/feed-item.component';
|
|
import { FeedUploadComponent } from './feed-upload/feed-upload.component';
|
|
import { FeedUploadButtonComponent } from './feed-upload/feed-upload-button/feed-upload-button.component';
|
|
|
|
import { FeedProviderService } from './services/feed.provider.service';
|
|
|
|
const entryComponents = [FeedUploadComponent];
|
|
const components = [FeedListComponent, FeedItemComponent, FeedUploadComponent, FeedUploadButtonComponent];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
IonicModule,
|
|
ReactiveFormsModule
|
|
],
|
|
declarations: components,
|
|
exports: components,
|
|
entryComponents: entryComponents,
|
|
providers: [FeedProviderService]
|
|
})
|
|
export class FeedModule {}
|