akveo / akveo/blur-admin

Binding data with 'GET' method doesn't work properly

未關閉
#229 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
11.3k
分支
3k
PR 合併指標
30 天內沒有已合併 PR

描述

Hi there. My name is zid, Angular newbie.
I appreciate this template very much.

I'm working on binding data with my DB.
So I changed 'TablePageCtrl.js' little as following code.

`
$scope.smartTableData = [];

$http.get('http://52.78.218.51/php-crud-api/api.php/customer?transform=1').then(function(response){
$scope.smartTableData = response.data.customer;
});
`

Data seems fine, but view doesn't display this.
It works only just, When I go to 'Basic Tables' and then visit 'Smart Tables' again.

I searched for solution but couldn't find one.
Tell me something please. Thank you.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。