AngularJS(7)-表
1503 ワード
ng-repeat命令は表を完璧に表示することができる.
転載先:https://www.cnblogs.com/yk123/p/5912459.html
Select
var app = angular.module('myApp',[]);
app.controller('customersCtrl',function($scope,$http){
$http.get('http://www.runoob.com/try/angularjs/data/Customers_JSON.php')
.success(function(response){
$scope.names = response.records;
});
});
// orderBy
// // uppercase
//$even $odd
{{$index+1}} $index
{{x.Name}}
{{ x.Name }}
{{x.Country|uppercase}} {{ x.Country }}
転載先:https://www.cnblogs.com/yk123/p/5912459.html