31 lines
952 B
TypeScript
31 lines
952 B
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
|
import {AngularFireModule} from 'angularfire2';
|
|
import {AngularFirestoreModule} from 'angularfire2/firestore';
|
|
import { NgModule } from '@angular/core';
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
import { AppComponent } from './app.component';
|
|
import { environment } from '../environments/environment.prod';
|
|
import {ConvertFromGPipe, ConvertToGPipe} from './units.pipe';
|
|
import { ScalePipe } from './scale.pipe';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent,
|
|
ConvertFromGPipe,
|
|
ConvertToGPipe,
|
|
ScalePipe
|
|
],
|
|
imports: [
|
|
AngularFireModule.initializeApp(environment.firebase),
|
|
AngularFirestoreModule,
|
|
BrowserAnimationsModule,
|
|
BrowserModule,
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
],
|
|
providers: [],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|