Initialize Operation module.
This commit is contained in:
parent
ac0aa056cf
commit
863160881f
@ -18,6 +18,8 @@ import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|||||||
|
|
||||||
import { AccountModule } from './accounts/account.module';
|
import { AccountModule } from './accounts/account.module';
|
||||||
import { ScheduleModule } from './scheduler/schedule.module';
|
import { ScheduleModule } from './scheduler/schedule.module';
|
||||||
|
import { OperationModule } from './operations/operation.module';
|
||||||
|
|
||||||
import { ApiBaseURL, LogLevel } from './app.config';
|
import { ApiBaseURL, LogLevel } from './app.config';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
@ -27,6 +29,7 @@ import { ApiBaseURL, LogLevel } from './app.config';
|
|||||||
UpgradeModule,
|
UpgradeModule,
|
||||||
AccountModule,
|
AccountModule,
|
||||||
ScheduleModule,
|
ScheduleModule,
|
||||||
|
OperationModule,
|
||||||
NgLoggerModule.forRoot(LogLevel),
|
NgLoggerModule.forRoot(LogLevel),
|
||||||
RestangularModule.forRoot((RestangularProvider) => {
|
RestangularModule.forRoot((RestangularProvider) => {
|
||||||
RestangularProvider.setBaseUrl(ApiBaseURL);
|
RestangularProvider.setBaseUrl(ApiBaseURL);
|
||||||
|
20
src/operations/operation.module.ts
Normal file
20
src/operations/operation.module.ts
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
||||||
|
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { FormsModule } from '@angular/forms';
|
||||||
|
import { HttpModule } from '@angular/http';
|
||||||
|
|
||||||
|
import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
|
||||||
|
import { RestangularModule } from 'ngx-restangular';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
HttpModule,
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
NgLoggerModule,
|
||||||
|
RestangularModule,
|
||||||
|
],
|
||||||
|
})
|
||||||
|
export class OperationModule {}
|
Loading…
Reference in New Issue
Block a user