mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-30 14:18:49 +01:00
- NgaModule - module wrapper for all ng2-admin custom features - Ng Module per page - async components load - menu moved (again) to a separate file (as now each module has its own route file) - no need to import Ba* directives into the pages which have NgaModule in the import statement
23 lines
525 B
TypeScript
23 lines
525 B
TypeScript
import {Component, ViewEncapsulation} from '@angular/core';
|
|
|
|
import {BubbleMapsService} from './bubbleMaps.service';
|
|
|
|
@Component({
|
|
selector: 'bubble-maps',
|
|
pipes: [],
|
|
providers: [BubbleMapsService],
|
|
encapsulation: ViewEncapsulation.None,
|
|
styles: [require('./bubbleMaps.scss')],
|
|
template: require('./bubbleMaps.html'),
|
|
})
|
|
export class BubbleMaps {
|
|
|
|
chartData:Object;
|
|
|
|
constructor(private _bubbleMapsService:BubbleMapsService) {
|
|
}
|
|
|
|
ngOnInit() {
|
|
this.chartData = this._bubbleMapsService.getData();
|
|
}
|
|
}
|