All files / src/app app.component.ts

100% Statements 14/14
100% Branches 0/0
100% Functions 3/3
100% Lines 12/12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 341x   1x 1x 1x                             1x 3x     3x 3x 3x     1x 1x     1x  
import { Component, OnInit } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ConfigActions } from './services/config/config.actions';
import { AuthguardService } from './nav/authguard.service';
import { Http, Response, ResponseOptions } from '@angular/http';
 
@Component({
  selector: 'mwb-root',
  template: `
  <div class="container-fluid">
    <mwb-nav-bar></mwb-nav-bar>
    <router-outlet id="bgimage"></router-outlet>
    <mwb-spinner></mwb-spinner>
  </div>
  `,
  providers: [
    ConfigActions,
 ],
})
export class AppComponent implements OnInit {
  title = 'Migration Workbench';
 
  constructor(
    private configActions: ConfigActions,
    private authGuardService: AuthguardService,
    private http: Http,
  ) {}
 
  ngOnInit() {
    this.configActions.initializeConfigRequest();
  }
 
}