I've been trying code like the following, which doesn't work:
I too would like to see some documentation on the Angular JS to see how we can interact with data dynamically.
Paul WRIGHT The syntax that you wrote is correct. To retrieve the data/result of the service - "$scope.app.mdl['<thingname>'].svc['<servicename>'];" And the critical part is if the service returns the result in InfoTable format we need to convert that data into JSON format. Follow the below:
var temp = $scope.app.mdl['<thingname>'].svc['<servicename>'];
var tmpjson = angular.fromJson (temp);
To retrieve the values of the properties: app.mdl['<thingname>'].properties['<prop-name>'];