1 import {Component, Inject} from '@angular/core';
3 import { ApiService } from './shared';
5 import '../style/app.scss';
6 import {NgRedux} from "@angular-redux/store";
7 import {AppState} from "./store/reducers";
8 import { LogService } from './shared/utils/log/log.service';
11 selector: 'vid-app', // <vid-app></vid-app>
12 templateUrl: './app.component.html',
13 styleUrls: ['./app.component.scss'],
15 export class AppComponent {
16 url = 'https://github.com/preboot/angular2-webpack';
20 constructor(private api: ApiService, private store: NgRedux<AppState>, private _logService : LogService) {
21 this.title = this.api.title;
23 sessionStorage.setItem('reduxState', JSON.stringify(store.getState()));
26 this._logService.info("testing new log service");