diff options
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/app.module.ts')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/app.module.ts | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sdc-workflow-designer-ui/src/app/app.module.ts b/sdc-workflow-designer-ui/src/app/app.module.ts index 3d57ce19..616db2dd 100644 --- a/sdc-workflow-designer-ui/src/app/app.module.ts +++ b/sdc-workflow-designer-ui/src/app/app.module.ts @@ -18,6 +18,12 @@ import { JsPlumbService } from "./services/jsplumb.service"; import { NodeComponent } from "./components/node/node.component"; import { ToolbarComponent } from "./components/toolbar/toolbar.component"; import { WorkflowService } from "./services/workflow.service"; +import { DataAccessService } from "./services/data-access/data-access.service"; +import { HttpService } from "./util/http.service"; +import { SharedModule } from "./shared/shared.module"; +import { InMemoryWebApiModule } from "angular-in-memory-web-api"; +import { InMemoryDataService } from "./services/data-access/in-memory-data.service"; +import { HttpModule } from "@angular/http"; @NgModule({ declarations: [ @@ -26,9 +32,17 @@ import { WorkflowService } from "./services/workflow.service"; ToolbarComponent, ], imports: [ - BrowserModule + BrowserModule, + HttpModule, + InMemoryWebApiModule.forRoot(InMemoryDataService), + SharedModule, + ], + providers: [ + DataAccessService, + HttpService, + JsPlumbService, + WorkflowService ], - providers: [JsPlumbService, WorkflowService], bootstrap: [AppComponent] }) export class AppModule { } |