I tried the example in the example docs. I am trying to make a drop down list of all my devices without having to determine the data source.
I use this code :
<!-- Server side query for points with given device name, and server side sort -->
<ma-point-query query="{deviceName:deviceName}" sort="'name'" points="points"></ma-point-query>
<ma-get-point-value points="points"></ma-get-point-value>
</head>
<div flex layout="row" layout-align="space-between" layout-padding layout-fill layout-wrap>
<md-card flex="45" flex-xs="100" class="cardcolor">
<md-card-content>
<md-input-container>
<!-- <label>Choose a data source</label>
<ma-data-source-list ng-model="myDataSource"></ma-data-source-list> -->
</md-input-container>
</md-card-content>
</md-card>
<md-card flex="45" flex-xs="100" class="cardcolor">
<md-card-content>
<div layout="column">
<md-input-container>
<label>Device names for selected data source</label>
<ma-device-name-list ng-model="deviceName"></ma-device-name-list>
</md-input-container>
<h2>All points for device:</h2>
<div ng-repeat="pt in points">
<label>{{pt.name}}: </label> {{pt.renderedValue}}
</div>
</div>
</md-card-content>
</md-card>
</div>
When I run the page, the input container just keeps spinning. What am I missing?