I have defined an <apex:remoteObjectModel>
in my .page file and can access custom objects through new SObjectModel.ObjectName().retrieve()
. However, the fields in these objects are accessed as
object.get("Name")
Thus, if I bind this to HTML attributes using Angular, say ng-bind
or ng-model
this is not particularly well suited. In particular, I see no appropriate way to bind this to an input text field, etc. Also, this is very verbose. Is there any way or alternative to remote objects that exposes the objects in a way more suitable for Angular?