Skip to content

Commit 4580088

Browse files
committed
feat(@angular/cli): removed Forms and Http Module from app.module.ts
1 parent 911c5ca commit 4580088

File tree

1 file changed

+1
-5
lines changed
  • packages/@angular/cli/blueprints/ng/files/__path__/app

1 file changed

+1
-5
lines changed

packages/@angular/cli/blueprints/ng/files/__path__/app/app.module.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { BrowserModule } from '@angular/platform-browser';
22
import { NgModule } from '@angular/core';
3-
import { FormsModule } from '@angular/forms';
4-
import { HttpModule } from '@angular/http';
53
<% if (routing) { %>
64
import { AppRoutingModule } from './app-routing.module';<% } %>
75
import { AppComponent } from './app.component';
@@ -11,9 +9,7 @@ import { AppComponent } from './app.component';
119
AppComponent
1210
],
1311
imports: [
14-
BrowserModule,
15-
FormsModule,
16-
HttpModule<% if (routing) { %>,
12+
BrowserModule<% if (routing) { %>,
1713
AppRoutingModule<% } %>
1814
],
1915
providers: [],

0 commit comments

Comments
 (0)