mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
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).
27 lines
481 B
TypeScript
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,
|
|
],
|
|
};
|
|
}
|
|
}
|