File tree 1 file changed +7
-8
lines changed
addon/ng2/blueprints/ng2/files/__path__/app
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
import { BrowserModule } from '@angular/platform-browser' ;
2
- import { NgModule , ApplicationRef } from '@angular/core' ;
3
- import { CommonModule } from '@angular/common' ;
4
- import { FormsModule } from '@angular/forms' ;
2
+ import { NgModule } from '@angular/core' ;
3
+ import { FormsModule } from '@angular/forms'
4
+ import { HttpModule } from '@angular/http'
5
+
5
6
import { AppComponent } from './app.component' ;
6
7
7
8
@NgModule ( {
@@ -10,13 +11,11 @@ import { AppComponent } from './app.component';
10
11
] ,
11
12
imports : [
12
13
BrowserModule ,
13
- CommonModule ,
14
- FormsModule
14
+ FormsModule ,
15
+ HttpModule
15
16
] ,
16
17
providers : [ ] ,
17
18
entryComponents : [ AppComponent ] ,
18
19
bootstrap : [ AppComponent ]
19
20
} )
20
- export class AppModule {
21
-
22
- }
21
+ export class AppModule { }
You can’t perform that action at this time.
0 commit comments