I attempted
this.propositionService.addProposition(this.proposition)
.subscribe(this.addSuccessCallback, this.addFailureCallback);
The issue I am encountering is that both addSuccessCallback
and addFailureCallback
do not have access to the this object. I prefer to avoid using embedded lambda expressions as it makes the code less tidy.