14 lines
193 B
JavaScript
14 lines
193 B
JavaScript
import { Injectable } from '@angular/core';
|
|
|
|
export class DataService {
|
|
constructor() {
|
|
}
|
|
getHeroName() {
|
|
return 'Windstorm';
|
|
}
|
|
}
|
|
|
|
DataService.annotations = [
|
|
new Injectable()
|
|
];
|