Created
January 30, 2017 02:38
-
-
Save matheuscas/e2a3b829ace44f58e8e3793a52a4b36f to your computer and use it in GitHub Desktop.
Revisions
-
matheuscas created this gist
Jan 30, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ import { Service1 } from './service1.service'; import { Injectable } from '@angular/core'; @Injectable() export class Service2 { constructor(private service1: Service1) { } do(){ this.service1.doSomethingFromService1(); console.log('after service 1 function'); } }