How to inject 2 services in one component code example
Example 1: how to inject service in component angular 6
you can inject service in components constructor:
constructor(public anyService: Service){}
Example 2: angular how to use service in class
import { Service } from '../';
you can inject service in components constructor:
constructor(public anyService: Service){}