Skip to content

Instantly share code, notes, and snippets.

@jstoppa
Last active May 27, 2019 20:34
Show Gist options
  • Save jstoppa/ea5b27a327518f01f8f7692fee6d9d3a to your computer and use it in GitHub Desktop.
Save jstoppa/ea5b27a327518f01f8f7692fee6d9d3a to your computer and use it in GitHub Desktop.
formql-article1-app.module.js
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormQLModule } from '@formql/core';
import { FormQLEditorModule } from '@formql/editor';
import { FormQLMaterialModule } from '@formql/material'
import { HttpClientModule } from '@angular/common/http';
import { TextMaskModule } from 'angular2-text-mask';
import { DummyService } from './app-service';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { AppFormQLComponent } from './app-formql.component';
import { AppFormQLEditorComponent } from './app-formql-editor.component';
import { ChartsModule } from 'ng2-charts';
import { AppFormQLMortgageScheduleComponent } from './app-formql-mortgage-schedule.component';
import { AppFormQLChartComponent } from './app-formql-chart.component';
@NgModule({
imports: [ BrowserModule, AppRoutingModule, FormQLModule, HttpClientModule, FormQLEditorModule, TextMaskModule, FormQLMaterialModule, ChartsModule],
declarations: [ AppComponent, AppFormQLComponent, AppFormQLEditorComponent,
AppFormQLChartComponent, AppFormQLMortgageScheduleComponent ],
entryComponents: [AppFormQLChartComponent, AppFormQLMortgageScheduleComponent],
providers: [ DummyService, {provide: "FormQLService", useClass: DummyService }],
bootstrap: [ AppComponent ]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment