Within the template of my angular component, I am attempting to accomplish the following:
<div> {{object1.some_property.(get value from object2.property and use it here, as it is a property of object1)}} </div>
Is there a way to achieve this in JavaScript using some ES6 syntax or in typescript? If not, would it be better to use a variable in the template to store the object's value and retrieve it from there instead? If so, how can I go about doing that?