Link server side camera to local problems


I am building an angular app. I am learning about it and using Paraview Lite as a reference.

I am building it in Angular because I have more experience in Angular than in Vue.

I reach a point which most of it seems to be working. However I do not get to make user interaction work (rotate, pan and zoom). I am pretty sure it is something missing in my porting from Vue to Angular but I do not know why.

It seems that this part of the code makes interaction work in Vue but not in Angular:

let remote = this.vtkService.getRemote();
remote.Lite.getCamera(’-1’).then((cameraInfo) => {

How can I debug it? Getting console.log or sthg that I can use to compare the Vue one against the Angular.

Thanks in advance,