Angular2 using Elvis operator on object key with forward slash
The Elvis operator is only available for the .
not for other dereference operators like []
.
As a workaround use
{{ data?.record ? data.record['name/first'] : null}}
The Elvis operator is only available for the .
not for other dereference operators like []
.
As a workaround use
{{ data?.record ? data.record['name/first'] : null}}