website/src/app/app.module.ts

31 lines
952 B
TypeScript
Raw Normal View History

2018-06-24 21:11:31 -04:00
import { BrowserModule } from '@angular/platform-browser';
2018-06-25 00:50:47 -04:00
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {AngularFireModule} from 'angularfire2';
import {AngularFirestoreModule} from 'angularfire2/firestore';
2018-06-24 21:11:31 -04:00
import { NgModule } from '@angular/core';
2018-06-25 00:50:47 -04:00
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
2018-06-24 21:11:31 -04:00
import { AppComponent } from './app.component';
2018-06-25 00:50:47 -04:00
import { environment } from '../environments/environment.prod';
import {ConvertFromGPipe, ConvertToGPipe} from './units.pipe';
import { ScalePipe } from './scale.pipe';
2018-06-24 21:11:31 -04:00
@NgModule({
declarations: [
2018-06-25 00:50:47 -04:00
AppComponent,
ConvertFromGPipe,
ConvertToGPipe,
ScalePipe
2018-06-24 21:11:31 -04:00
],
imports: [
2018-06-25 00:50:47 -04:00
AngularFireModule.initializeApp(environment.firebase),
AngularFirestoreModule,
BrowserAnimationsModule,
BrowserModule,
FormsModule,
ReactiveFormsModule,
2018-06-24 21:11:31 -04:00
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }