Could we potentially achieve something similar to this code snippet? I attempted it but didn't have any success:
@Injectable()
class X {
constructor(private http: Http){ // <-- Injection in parent class
}
method(){
this.http.get()...
};
}
@Injectable()
class Y extends X{
anotherMethod() {
this.method();
}
}