akveo / akveo/blur-admin

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

Abierto
#229 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
11.3k
Forks
3k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.