Enhance your Angular architecture — I used to pass services to constructor of the component in the following way: import {MyServiceA} from './myServiceA';
import {MyServiceB} from './myServiceB';
import {MyServiceC} from './myServiceC';
export class MyComponent {
constructor(
private myServiceA:MyServiceA,
private myServiceB:MyServiceB,
private myServiceC:MyServiceC) {}
} That’s fine, but when your app grows you might consider a…