AngularJS 分页
前端源码: <div> <h1>列表页33</h1> <table> <thead> <tr><td>CandiID</td><td>HotelName</td></tr> </thead> <tr ng-repeat="item in List track by $index"><td>{{item.CandiID}}</td><td>{{item.HotelName}}</td></tr> </table> <div> <%--<pagination ></pagination>--%> </div> <div> <tm-pagination conf="paginationConf"></tm-pagination> </div> </div> AngularJS var listModule = angular.module('app.farmhouselist', []); //控制器 var listCtrl = function ($scope, $http, $q, GetCandidateListByCondition) { var conditionObj = new Object(); conditionObj.Province = 23; conditionObj.SourceType = 128; conditionObj.SalesManName =