define-contents.ts 786 Bytes
import { Injectable } from '@angular/core';
import { Menu } from './define-menu';
import { Unit } from './define-unit';
import { Qa } from './define-qa';
import { ContentsMenu } from './content-menu';
import { ContentsUnit } from './content-unit';
import { ContentsQa } from './content-qa';
/*
  Generated class for the DataService provider.

  See https://angular.io/docs/ts/latest/guide/dependency-injection.html
  for more info on providers and Angular 2 DI.
*/
@Injectable()
export class Contents {
    menu: Menu[];
    unit: Unit[];
    qa :Qa[];

    constructor() {
        var menu = new ContentsMenu();
        this.menu = menu.menu;

        var unit = new ContentsUnit();
        this.unit = unit.unit;

        var qa = new ContentsQa();
        this.qa = qa.qa;

    }

}