I want to fetch the data inside table but not getting any data.
Code is here--

```
 <div ng-controller="tenders"> 
                <table ng-init="getViewProjectDetail('<?php echo $project_id ; ?>')">
                  <thead> 
                        <tr class="active">
                            <th colspan="4">
                                Project Detail:
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <th><b>Project Name :</b></th>
                            <td ng-repeat="a in viewProjects">
                                {{a.id}}
                            </td>
                         {{viewProjects | json}}
                        </tr>
                    </tbody>
                </table>
            </div>

```

getting all data in viewProjects through json but unable to print it inside table row n each function of controller services and models working perfactly except this.

Please help me to get this issue.