Remove unused injection.
This commit is contained in:
parent
f484833380
commit
45af7791ff
@ -18,10 +18,6 @@ import { ScheduleFormComponent } from './scheduleForm.component';
|
|||||||
import { ScheduleRowComponent } from './scheduleRow.component';
|
import { ScheduleRowComponent } from './scheduleRow.component';
|
||||||
import { ScheduleListComponent } from './scheduleList.component';
|
import { ScheduleListComponent } from './scheduleList.component';
|
||||||
|
|
||||||
export function $modalServiceFactory(i: any) {
|
|
||||||
return i.get('$modal');
|
|
||||||
}
|
|
||||||
|
|
||||||
export function accountIdServiceFactory(i: any) {
|
export function accountIdServiceFactory(i: any) {
|
||||||
return i.get('accountIdService');
|
return i.get('accountIdService');
|
||||||
}
|
}
|
||||||
@ -40,10 +36,6 @@ export function accountIdServiceFactory(i: any) {
|
|||||||
providers: [
|
providers: [
|
||||||
ScheduleService,
|
ScheduleService,
|
||||||
{
|
{
|
||||||
provide: '$modal',
|
|
||||||
deps: ['$injector'],
|
|
||||||
useFactory: $modalServiceFactory
|
|
||||||
}, {
|
|
||||||
provide: 'accountIdService',
|
provide: 'accountIdService',
|
||||||
deps: ['$injector'],
|
deps: ['$injector'],
|
||||||
useFactory: accountIdServiceFactory
|
useFactory: accountIdServiceFactory
|
||||||
|
Loading…
Reference in New Issue
Block a user