- npm updates

- add favicon via template
- add popup.service.ts
This commit is contained in:
Arno Kaimbacher 2021-08-26 13:35:14 +02:00
parent bc44385846
commit 72cc5241af
9 changed files with 135 additions and 122 deletions

View file

@ -0,0 +1,13 @@
import { Injectable } from '@angular/core';
@Injectable()
export class PopupService {
constructor() { }
makeCapitalPopup(data: any): string {
return `` +
`<div>Name: ${data.label}</div>` +
`<a href=${data.href} target="_blank">Visit station api</a>`
}
}