I know there is the following way of defining injectable services in Angular 2/4 (correct me if I am wrong somewhere, please):
@Injectable()
export class SomeService {
...
}
export const someServiceInjectables: Array<any> = [
SomeService
];
What is the purpose of it? It injects a service with @Injectable
without the array. AFAIK it is used for exporting specific implementation of a service (am I right?) but what's the benefit here?
Thanks a lot!