Refactor: Move contact service into services folder

master
Kevin C. Coram 2019-09-07 21:25:36 -04:00
parent 1df633dacd
commit 4c014600c5
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
export * from './lib/contact-model';
export * from './lib/contact.service';
export * from './lib/services/contact.service';
export * from './lib/services/contact-form.service';
export * from './lib/contact.module';

View File

@ -1,6 +1,6 @@
import { NgModule, Optional, SkipSelf } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ContactService } from './contact.service';
import { ContactService } from './services/contact.service';
import { ContactFormService } from './services/contact-form.service';
@NgModule({

View File

@ -1,4 +1,4 @@
import { Contact } from './contact-model';
import { Contact } from '../contact-model';
import { TestBed, async } from '@angular/core/testing';
import { ContactService } from './contact.service';

View File

@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { Contact } from './contact-model';
import { Contact } from '../contact-model';
import { Observable, of } from 'rxjs';
const contact: Contact = {