Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (21 sloc) 566 Bytes
import {NgModule, Optional, SkipSelf} from '@angular/core';
import {UserStore} from './user/services/';
import {UserEndpoint} from './user/services/user.endpoint';
declarations: [],
imports: [],
providers: [UserStore, UserEndpoint],
export class CoreModule {
parentModule: CoreModule
) {
if (parentModule) {
throw new Error(
'CoreModule is already loaded. Import it in the AppModule only.'
You can’t perform that action at this time.