Added weather widget
This commit is contained in:
10
src/app/battery/widget/batteryWidget.component.ts
Normal file
10
src/app/battery/widget/batteryWidget.component.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {BatteryService} from '../battery.service';
|
||||
|
||||
@Component({
|
||||
selector: 'battery-widget',
|
||||
templateUrl: './batteryWidget.component.html'
|
||||
})
|
||||
export class BatteryWidgetComponent {
|
||||
constructor(public batteryService: BatteryService) { }
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import {BatteryService} from '../battery.service';
|
||||
|
||||
@Component({
|
||||
selector: 'battery-widget',
|
||||
templateUrl: './widget.component.html'
|
||||
})
|
||||
export class WidgetComponent implements OnInit {
|
||||
|
||||
constructor(public batteryService: BatteryService) { }
|
||||
|
||||
ngOnInit() { }
|
||||
}
|
Reference in New Issue
Block a user