javascript - AngularJS - Scope data not displaying -


i have been retrieving data , displaying throughout project using same code steps, have situation "$scope" data 1 function not displaying in html page. data there, , field names appear in returned data, whatever reason not display. i'm using bootstrap tabs, , data supposed show on 2nd tab. thought perhaps problem might in html on tab moved "{{data.whatever}}" tab data displaying correctly see if issue, , still didn't display.

the picture below shows getting in controller:

enter image description here

however when try render data in code follows:

<tr style="background-color:#cfe7f1">                                     <th>ssq last edited by</th>                                     <th>date edited</th>                                     <th>last incident qtr reported</th>                                     <th>number of employees</th>                                     <th>number of active instructors</th>                                 </tr>                             </thead>                             <tbody>                                 <tr>                                     <td>jim sanders</td>                                     <td>07/15/2015</td>                                     <td>{{ssqdetails.vchlastcompletequarter}}</td>                                     <td>{{ssqdetails.intavgnumemployees}}</td>                                     <td>{{ssqdetails.activeinstructorcount}}</td>                                 </tr> 

i have table 1 above uses similar call , data displays perfectly. has me baffled. if has ideas, please share. didn't show entire html, controller, or app code brevity, if need more information in order help, let me know, , include whatever may help.

any assistance appreciated!

from screenshot posted appears object wrapped in array.

setting $scope.ssqdetails = newdata[0]; should trick dirty fix, better adjust response of service, returns object.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -