I'm trying to interpolate an nested property getter into angular html template:
<div class="row">
<div class="col-xs-12">
{{ myObject.myProps.someProperty1 }} -- Not working
</div>
<div class="col-xs-12">
{{ myObject.someProperty2 }} -- Working
</div>
</div>
The myObject.myextendedProps
is a property getter Object typed, but I'm getting an Exception:
Cannot read property 'someProperty1' of undefined
But I know for sure that myProps
is not null because when I'm console-logging the myObject
, I can click on the Invoke property getter three dots of the myProps
property it shows a real value.
My best guess that its a property getter issue. any suggestion solving it?