Refactor: Move contact service into services folder
parent
1df633dacd
commit
4c014600c5
|
@ -1,4 +1,4 @@
|
||||||
export * from './lib/contact-model';
|
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/services/contact-form.service';
|
||||||
export * from './lib/contact.module';
|
export * from './lib/contact.module';
|
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule, Optional, SkipSelf } from '@angular/core';
|
import { NgModule, Optional, SkipSelf } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { ContactService } from './contact.service';
|
import { ContactService } from './services/contact.service';
|
||||||
import { ContactFormService } from './services/contact-form.service';
|
import { ContactFormService } from './services/contact-form.service';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Contact } from './contact-model';
|
import { Contact } from '../contact-model';
|
||||||
import { TestBed, async } from '@angular/core/testing';
|
import { TestBed, async } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ContactService } from './contact.service';
|
import { ContactService } from './contact.service';
|
|
@ -1,6 +1,6 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
import { Contact } from './contact-model';
|
import { Contact } from '../contact-model';
|
||||||
import { Observable, of } from 'rxjs';
|
import { Observable, of } from 'rxjs';
|
||||||
|
|
||||||
const contact: Contact = {
|
const contact: Contact = {
|
Loading…
Reference in New Issue