Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// :: A single page application developed with Angular 2 (beta) and Bootstrap 4 (alpha).
import { Injectable } from 'angular2/core';
import {Employees} from '../data/data.employees';
import {Courses} from '../data/';
export class DataService {
constructor() { }
getEmployees() {
return Promise.resolve(Employees);
getEmployeeList() {
return Promise.resolve(Employees);
getCourses() {
return Promise.resolve(Courses);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment