摘要:
在表格中显示数据 <div ng-app="myApp" ng-controller="customersCtrl"> <table> <tr ng-repeat="x in names"> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr></ 阅读全文
摘要:
$http 是 AngularJS 中的一个核心服务,用于读取远程服务器的数据。 使用格式: 简写方法 POST 与 GET 简写方法格式: 此外还有以下简写方法: $http.get $http.head $http.post $http.put $http.delete $http.jsonp 阅读全文