1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

stub out angular with webpack

This commit is contained in:
Kyle Spearrin
2018-04-03 22:14:54 -04:00
parent 848117ff86
commit 4d56d12ccb
19 changed files with 1225 additions and 38 deletions

View File

@@ -0,0 +1,35 @@
import {
APP_INITIALIZER,
NgModule,
} from '@angular/core';
import { ToasterModule } from 'angular2-toaster';
import { AuthGuardService } from './auth-guard.service';
import { BroadcasterService } from './broadcaster.service';
import { ValidationService } from './validation.service';
function initFactory(): Function {
return async () => {
};
}
@NgModule({
imports: [
ToasterModule,
],
declarations: [],
providers: [
ValidationService,
AuthGuardService,
{
provide: APP_INITIALIZER,
useFactory: initFactory,
deps: [],
multi: true,
},
],
})
export class ServicesModule {
}