Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
un33k committed Jun 14, 2018
1 parent b6bdb7d commit 3147fe3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
11 changes: 10 additions & 1 deletion apps/web/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';

import { AppComponent } from './app.component';

import { MatModule } from 'pkgs/mat';

@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, BrowserAnimationsModule, MatModule],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
ReactiveFormsModule,
FormsModule,
MatModule
],
bootstrap: [AppComponent]
})
export class AppModule {}
14 changes: 2 additions & 12 deletions pkgs/mat/src/mat.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

import { NgModule, Optional, SkipSelf, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { FlexLayoutModule } from '@angular/flex-layout';

import 'hammerjs';

Expand Down Expand Up @@ -65,9 +62,6 @@ import { MatService } from './mat.service';
@NgModule({
imports: [
CommonModule,
HttpClientModule,
ReactiveFormsModule,
FormsModule,
MatAutocompleteModule,
MatButtonModule,
MatButtonToggleModule,
Expand Down Expand Up @@ -108,12 +102,9 @@ import { MatService } from './mat.service';
OverlayModule,
PlatformModule,
PortalModule,
MatBadgeModule,
FlexLayoutModule
MatBadgeModule
],
exports: [
ReactiveFormsModule,
FormsModule,
MatAutocompleteModule,
MatButtonModule,
MatButtonToggleModule,
Expand Down Expand Up @@ -154,8 +145,7 @@ import { MatService } from './mat.service';
OverlayModule,
PlatformModule,
PortalModule,
MatBadgeModule,
FlexLayoutModule
MatBadgeModule
],
providers: [MatService]
})
Expand Down

0 comments on commit 3147fe3

Please sign in to comment.