note.service.ts 252 Bytes
Newer Older
Ooh-Ao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import { Injectable } from '@angular/core';
import { Note } from './note';
import { notes } from './notes-data';


@Injectable()
export class NoteService {


    public notes: Note[] = notes;

    public getNotes() {
        return this.notes;
    }
}