Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 470 Bytes
import { Injectable } from '@angular/core';
@Injectable()
export class PizzaService {
constructor() { }
getPizza() {
return [{
'id': 1,
'name': 'Pizza Vegetaria',
'price': 5.99
}, {
'id': 2,
'name': 'Pizza Salami',
'price': 10.99
}, {
'id': 3,
'name': 'Pizza Thunfisch',
'price': 7.99
}, {
'id': 4,
'name': 'Aktueller Flyer',
'price': 0
}];
}
}