From 45af7791ff2eced1b56bf2734fe3e2fc72e191fc Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 29 Jul 2017 23:05:38 +0200 Subject: [PATCH] Remove unused injection. --- src/scheduler/schedule.module.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/scheduler/schedule.module.ts b/src/scheduler/schedule.module.ts index 4edf4c3..b7e7649 100644 --- a/src/scheduler/schedule.module.ts +++ b/src/scheduler/schedule.module.ts @@ -18,10 +18,6 @@ import { ScheduleFormComponent } from './scheduleForm.component'; import { ScheduleRowComponent } from './scheduleRow.component'; import { ScheduleListComponent } from './scheduleList.component'; -export function $modalServiceFactory(i: any) { - return i.get('$modal'); -} - export function accountIdServiceFactory(i: any) { return i.get('accountIdService'); } @@ -40,10 +36,6 @@ export function accountIdServiceFactory(i: any) { providers: [ ScheduleService, { - provide: '$modal', - deps: ['$injector'], - useFactory: $modalServiceFactory - }, { provide: 'accountIdService', deps: ['$injector'], useFactory: accountIdServiceFactory