[問題] anglural 新手問題...

作者: hope0330 (MMMM)   2016-05-28 16:34:40
<td>{{data.name}}</td>
<td>{{data.author}}</td>
</tr>
</table>
</div>
</body>
JS部分:
$scope.showList = function(){
$http({
url:'http://localhost:2000/book',
method:'GET',
}).then(function(success_response){
console.log(success_response);
$scope.list = success_response.data;
}, function(err_response){
console.log(err_response);
})
}
作者: aaa7513231 (渾沌與秩序)   2016-05-28 17:28:00
問題是?
作者: ccvs (kisS x Sis)   2016-05-30 01:17:00
angular也拼錯...
作者: feelined (CRR)   2016-05-30 09:56:00
根本連{{}}內的參數都沒對到...這問題是...?

Links booklink

Contact Us: admin [ a t ] ucptt.com