php - binding data from sub query? -


screen shot enter image description here image 1

enter image description here

so (image 1) "network" preview of data. have data in mysql database , importing php. because of reasons had make 2 sub queries. data on image. main query "data" 2 of sub "devices" , "units". can't call "devices" , "units" ng-repeat unknown reason. tried ng-repeat="x in data.devices" , other ways things don't show in on page. note! data main query "data" things ip, credential , user_id shown. result image 2 should image 3.

thanks !

since data array, try ng-repeat="x in data[0].devices"


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -