tree shaking support for services (#3906)

[ADF-3697] tree shaking support for services
This commit is contained in:
Denys Vuika
2018-10-22 11:09:43 +01:00
committed by Eugenio Romano
parent 368f949fc4
commit fee35c98df
77 changed files with 222 additions and 246 deletions

View File

@@ -23,7 +23,9 @@ import { AuthenticationService } from './authentication.service';
import { AppConfigService, AppConfigValues } from '../app-config/app-config.service';
import { OauthConfigModel } from '../models/oauth-config.model';
@Injectable()
@Injectable({
providedIn: 'root'
})
export class AuthGuardEcm implements CanActivate {
constructor(private authService: AuthenticationService,
private router: Router,