ngx-admin/src/app/@core/mock/mock-data.module.ts
Evgeny Lupanov aa4ae169d9 feat: upgrade to Angular 9 and Nebular 5 (#5628)
BREAKING CHANGE:
Angular updated to version 9.
Nebular updated to version 5.
`@agm/core` replaced with `@angular/google-maps`.
`ng2-completer` replaced with `@akveo/ng2-completer`, read details [here](https://github.com/akveo/ng2-smart-table/pull/1140#issue-392285957).
2020-05-22 11:24:30 +03:00

27 lines
481 B
TypeScript

import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { UserService } from './users.service';
const SERVICES = [
UserService,
];
@NgModule({
imports: [
CommonModule,
],
providers: [
...SERVICES,
],
})
export class MockDataModule {
static forRoot(): ModuleWithProviders<MockDataModule> {
return {
ngModule: MockDataModule,
providers: [
...SERVICES,
],
};
}
}