Get data out of Angular form

Hello. Apologies if this is a basic question, but what’s the best way to get the content of the data in a form when using Angular?

[original thread by eebsie]


I have found this way of doing it, but is this the best way?:

constructor(private jsonFormsService: JsonFormsAngularService) {}

ngOnInit() {
    this.jsonFormsService.$state.subscribe((data) => {

Hi @eebsie ,
you can do it like this:
return this.jsonFormsService.getState();