feat: use route provider and make all config public

pull/4377/head
Arman Ozak 5 years ago
parent bc83b6782b
commit c6ad4da7b9

@ -0,0 +1,12 @@
import { ModuleWithProviders, NgModule } from '@angular/core';
import { ACCOUNT_ROUTE_PROVIDERS } from './providers/route.provider';
@NgModule()
export class AccountConfigModule {
static forRoot(): ModuleWithProviders<AccountConfigModule> {
return {
ngModule: AccountConfigModule,
providers: [ACCOUNT_ROUTE_PROVIDERS],
};
}
}

@ -0,0 +1,3 @@
export * from './account-config.module';
export * from './enums';
export * from './providers';
Loading…
Cancel
Save