ngx-admin/src/app/pages/charts/components/chartistJs/chartistJs.component.ts

24 lines
518 B
TypeScript
Raw Normal View History

2016-05-03 19:16:13 +03:00
import {Component, ViewEncapsulation} from 'angular2/core';
import {BaCard} from '../../../../theme';
import {ChartistJsService} from "./chartistJs.service";
require('chartist');
@Component({
selector: 'chartist-js',
pipes: [],
providers: [ChartistJsService],
encapsulation: ViewEncapsulation.None,
styles: [require('./chartistJs.scss')],
directives: [BaCard],
template: require('./chartistJs.html'),
})
export class ChartistJs {
constructor(private _chartistJsService:ChartistJsService) {
}
}